Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Identifying character vs. numeric values in a string
Message
De
10/01/2007 19:56:06
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
09/01/2007 17:15:34
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01183992
Message ID:
01184417
Vues:
19
>In VB there is an IsNumeric function you can call. If you iterate through the characters, you can test to see if they are numeric, and if not they must be character.

Not necessarily. For example a dot is neither a character nor a numeric. Same goes with spaces,tab,newline etc. Comma,semicolon,...
Check Char structure. It has a series of Is...() methods.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform