www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  Scripting    Replacing entry separators
Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Posted
I want to swap Application.entrySeparator markers in a field for semi-colons. I've tried the Script Library entry (very useful) which swaps the other way, but can't get it to work for me. Am I missing something? Could I substitute "Application.entrySeparator" somehow?
(I'm using DBText 8)

Original JScript:
// replace(/; /g, "\u001F")

What I've tried:
// replace("\u001F"/g, /; )

Thanks
Brent
 
Posts: 21 | Location: Wellington, New Zealand | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Use instead replace(/\u001F/g,"; ")


NEEngstrom
 
Posts: 40 | Location: Falun, Sweden | Registered: Tue September 17 2002Reply With QuoteEdit or Delete MessageReport This Post
Posted Hide Post
Thank youi very much. That worked perfectly.
Kind regards
Brent

quote:
Originally posted by NEEngström:
Use instead replace(/\u001F/g,"; ")
 
Posts: 21 | Location: Wellington, New Zealand | Registered: Tue July 29 2003Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

www.Inmagic.com    Inmagic Forums    Inmagic Forums  Hop To Forum Categories  Scripting    Replacing entry separators