Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# Parse A Word From A String
Message
De
19/01/2008 11:17:09
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01283001
Message ID:
01283266
Vues:
15
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform