StrataFrame Forum
Back
Login
Login
Home
»
.NET Forums
»
General .NET Discussion
»
How to parse alphanumeric value?
How to parse alphanumeric value?
Post Reply
Like
1
How to parse alphanumeric value?
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
RSS Feed
Goto Topics Forum
Author
Message
Edhy Rijo
E
Edhy Rijo
posted 14 Years Ago
ANSWER
HOT
Topic Details
Share Topic
E
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
Reply
Like
1
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Threaded View
Threaded View
How to parse alphanumeric value?
Edhy Rijo
-
14 Years Ago
Regex! It is a bit of a pain to learn, but it rocks at solving...
Greg McGuffey
-
14 Years Ago
Whoops, code example got messed up because of less than/greater than...
Greg McGuffey
-
14 Years Ago
Thanks Greg,
I will investigate RegEx even though in my...
Edhy Rijo
-
14 Years Ago
Greg, once again, thanks for the RegEx samples but I decided to create...
Edhy Rijo
-
14 Years Ago
I'm glad you got it going.
I'd suggest that when you have...
Greg McGuffey
-
14 Years Ago
[quote][b]Greg McGuffey (06/15/2010)[/b][hr]I'd suggest that when you...
Edhy Rijo
-
14 Years Ago
Hey Edhy
As you explore regex be sure to check out this...
Charles R Hankey
-
14 Years Ago
Using some kind of tool definitely makes using Regex easier. The tool...
Greg McGuffey
-
14 Years Ago
Hey, good to know. I've got RegexBuddy, will have a look at RegexMagic...
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
Post Reply
Like
1
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search