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!]

Reply via email to