Thanksyou.

----- Original Message -----
From: "Eric Frericks" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 11, 2003 11:17 PM
Subject: RE: <lingo-l> Replace text within a string


Look up offset in the lingo dictionary.

-----Original Message-----
From: Simon Wheatley (lists) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 11, 2003 4:29 PM
To: Lingo-L
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!]


[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