How to parse alphanumeric value?


Author
Message
Edhy Rijo
E
StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)StrataFrame VIP (3.8K reputation)
Group: StrataFrame Users
Posts: 2.4K, Visits: 23K
I have a field which may have alphanumeric values like this:



AMDNY-0001253

AMDNJ-0011253

000001253

XXHAM 1253





I need to get the numeric part to do some calculations and then assembly the alpha + numeric part again. Is there any cool .Net function that would help me on this process instead of me looping the value backwards to get only the numeric part of 1253 in the above example?

Edhy Rijo

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View
Threaded View
Edhy Rijo - 14 Years Ago
Greg McGuffey - 14 Years Ago
Greg McGuffey - 14 Years Ago
Edhy Rijo - 14 Years Ago
Edhy Rijo - 14 Years Ago
Greg McGuffey - 14 Years Ago
Edhy Rijo - 14 Years Ago
Charles R Hankey - 14 Years Ago
Greg McGuffey - 14 Years Ago
Ivan George Borges - 14 Years Ago
                     Thanks Charles,

Believe me, taking a quick look at the...
Edhy Rijo - 14 Years Ago
                         Whatever tool you use notice there is a regex tutorial link on the...
Charles R Hankey - 14 Years Ago
                             I think I'd try RegexMagic. It looks really accessible, with the...
Greg McGuffey - 14 Years Ago
                                 Hi Greg and all,

Just to let you know that today I finally...
Edhy Rijo - 14 Years Ago
                                     Glad to hear it! Sounds like RegexMagic is quite helpful.
Greg McGuffey - 14 Years Ago

Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search