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

Is there any strtok in C# ? 1

Status
Not open for further replies.

ddvlad

Programmer
Mar 12, 2003
71
RO
I've used strtok in C++ and I need it in C#. Can anyone help me? Thanks in advance.

Life is a bad joke -- don't take it serious...
 
Take a look at the Split method. Instead of having to call it in a loop like you would with strtok(), it returns all the tokens in a string array at once.

Chip H.
 
Thanks chiph you've been of great help.

Life is a bad joke -- don't take it serious...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top