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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

inString function

Status
Not open for further replies.

IanCockcroft

IS-IT--Management
Mar 16, 2004
7
ZA
guys, how can I find the position of certain character in a string. SPACE specifially. Is there a function?
 
If you are using DS BASIC that would be INDEX, ie
STRING="Has Spaces"
LOC=INDEX(STRING," ",1)

In the above example, LOC would contain 4.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top