"Simon Wheatley (lists)" wrote: > > 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?
If I'm not wrong the handler you're looking for is reported as an example for the Lingo function 'offset()' in the help of Director 8/8.5 (on SearchAndReplace input, stringToFind, stringToInsert) HTH, Franco IFC Programming Consultant http://www.chnexus.com/athroon~/index.htm [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!]
