Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Identifying character vs. numeric values in a string
Message
From
10/01/2007 19:56:06
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/01/2007 17:15:34
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 2.0
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01183992
Message ID:
01184417
Views:
18
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform