[EMAIL PROTECTED] wrote: > > Hello, > > I have incoming data from an external device...Data will be arriving in the >following as below: > > RAE 123 LLF 225......... > > In this example RAE is a variable and 123 is it's value. I'd like to look for > it in a string and record it's value. Hmm... you want the 'word' after the variable name ... return DataString.word[1 + (DataString.char[1..(offset(VariableName,DataString))]).word.count] -- Carl West [EMAIL PROTECTED] 617.262.8830 x246 I have no superfluous leisure; my stay must be stolen out of other affairs; but I will attend you awhile. - Isabella, Measure for Measure, Act 3 Scene 1 [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/LUJ/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!]