Feb 8, 2005 #1 o1568501 Programmer Joined Feb 8, 2005 Messages 14 Location GB Hi, Does anyone know how to get the integer position of a word in a stirng of text using c#? Many thanks
Hi, Does anyone know how to get the integer position of a word in a stirng of text using c#? Many thanks
Feb 8, 2005 1 #2 Smeat Programmer Joined Mar 27, 2004 Messages 193 Location GB Code: string a = "myword"; int i = a.IndexOf("word"); Upvote 0 Downvote