Yes it is, if you modify it a bit: whichline = inString.char[1..offset(lookForString,inString)].line.count
Or put in context: on offsetLine(lookForString, inString) whichLine = inString.char[1..offset(lookForString,inString)].line.count return whichLine end Bertil Flink Creative Media [EMAIL PROTECTED] ----- Original Message ----- From: "Rob Walch" <[EMAIL PROTECTED]> > > whichline = lookForString.char[1..offset(lookForString, > inString)].line.count > > It's a great way to search! > [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!]
