469,612 Members | 1,621 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,612 developers. It's quick & easy.

Grab A Whole Word in C#

Hello,
I am new with C# but have experienced in other similar languages such as Java. What I am trying to do is search a long .l5k file for any time a line begins with "f_". Once I find this line, I want to grab the whole "f_" phrase i.e. "f_someRandomTextFollows".

How do I grab the whole word by just knowing the index and not knowing the length?

Thanks for any comments.
Jul 11 '07 #1
2 1253
Silent1Mezzo
208 100+
Hello,
I am new with C# but have experienced in other similar languages such as Java. What I am trying to do is search a long .l5k file for any time a line begins with "f_". Once I find this line, I want to grab the whole "f_" phrase i.e. "f_someRandomTextFollows".

How do I grab the whole word by just knowing the index and not knowing the length?

Thanks for any comments.
You should probably put this in the .NET forums
Jul 11 '07 #2
bartonc
6,596 Expert 4TB
Hello,
I am new with C# but have experienced in other similar languages such as Java. What I am trying to do is search a long .l5k file for any time a line begins with "f_". Once I find this line, I want to grab the whole "f_" phrase i.e. "f_someRandomTextFollows".

How do I grab the whole word by just knowing the index and not knowing the length?

Thanks for any comments.
I'm glad to see that you have found the .NET Forum and reposted there [hint to mod: leave it here so it doesn't look like a double post there].
Jul 11 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

3 posts views Thread by dan glenn | last post: by
reply views Thread by Mel_la_Bel | last post: by
4 posts views Thread by louise raisbeck | last post: by
19 posts views Thread by JRough | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.