Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
C# Parse A Word From A String
Message
 
À
18/01/2008 11:21:19
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01283001
Message ID:
01283008
Vues:
16
I'm gonna convert it to an int.

There will always be a number in this position.


>>
string s = "+OK 1 2729"
>>
>>How do I parse the '1' from the above string?
>
>What do you want to do with it? Remove it? Obtain the value that is always in that space?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform