Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dbase expression

Status
Not open for further replies.

paulmack88

Programmer
Jul 22, 2010
1
IM
Is there a dbase expression which will return everything after the first word.
e.g. "This is a string" would return "is a string".

Thanks
 
Not that I'm aware. But it's not to difficult to put together. Just use the AT command to find the first space, then grab all of the text to the right of that position.

Jim C.
 
What Jim C. said:

cString = "this is a string"
? substr(cString, at(" ",cString)+1)

Should be just what you want.

Mike.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top