Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# Parse A Word From A String
Message
From
19/01/2008 11:17:09
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01283001
Message ID:
01283266
Views:
14
Kevin,

Everyone has been telling you to use the .Substring() method, and that will work. But, I think that John and Cetin's suggestion to use the .Split() method is a much better suggestion. =0)

~~Bonnie



>
string s = "+OK 1 2729"
>
>How do I parse the '1' from the above string?
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform