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

Find numerical location of substring in a string

Status
Not open for further replies.

jfrost10

Programmer
Jun 3, 2001
2,004
CA
hey guys,

I want to parse through a string and find the numeric location of a substring within a string.

Any thoughts on how to go about this?

Thanks,

D
 
Ho...I think I have it:

Get the length of the string, then use LastIndexOf(char, int) to get the actual index of the string.

Thanks guys

D
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top