I was looking at this not too long ago... best thing I have found is the
pRegEx xtra (free) to use regular expressions... very powerful.
Alternatively, you could use the textcruncher xtra (not free) from
updatestage if you needed....
If all you are looking at is to replace words, look into the Lingo chunk
expressions...

HTH,
~Mathew

----- Original Message -----
From: "Simon Wheatley (lists)" <[EMAIL PROTECTED]>
To: "Lingo-L" <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 5:28 PM
Subject: <lingo-l> Replace text within a string


> Hello again, sorry for barging in with all my questions... I promise I'm
doing
> my best to rtfm and google for the answers before asking.
>
> I'm interested in replacing text within a string. See the psuedo-lingo
below:
>
> <pseudoLingo>
>   myTextString = "this is carolyn's text string"
>   myTextString = subStringReplace(myTextString, "carolyn", "simon")
>   -- where myTextString is the string to be operated on, "carolyn" is the
>   -- text to be searched for and "simon" is the replacement text
>   put myTextString
>   -- "this is simon's string"
> </pseudoLingo>
>
> Is this possible?
>
> Thanks
>
> Simon
>
>
> [To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]
>



[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to