Hey,
is there a way to search a specific word in a string and get the position where it appears?

Like with the std::string... There I get the INT position of the word...
Hope you know what I mean...

I cant find the same with System^String in WinForms...

Only : str->Contains("test") ....
but it returns True or False and not the position

Hope you understand me yea :D
Daniel

Recommended Answers

All 2 Replies

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.