skip to main
|
skip to sidebar
Using String In Csharp
String In Csharp
Saturday, May 30, 2009
Detect if string is numeric
// Detect if a string is numeric
public static bool IsNumeric(string text)
{
return Regex.IsMatch(text,"^\\d+$");
}
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
All Menu
Followers
About Me
Avinash Tiwari
View my complete profile
No comments:
Post a Comment