-- big endian or little endian?
-- UTF-7 or UTF-8 or UTF-16 or UTF-32?
String E: Hexadecimal:
b1fad06c835d0ff341ea112d0b71d67cf216263e
g.
B-) Please help me by completing my school survey about computer programmers on my website. Thank you!!! Gerry Lowry +1 705-429-7550 wasaga beach, ontario, canada
There are a couple of methods you could try out. There are example and specifications that can be found on the StackOverFlow website found in the following link: http://stackoverflow.com/questions/3720012/regular-expression-to-split-string-and-number
Hopefully this will be able to help you.
Best of Luck!
With Kind Regards,
Marked as answer by Mark - MSFT on Jan 03, 2013 01:03 AM
Javed Khan
Member
7 Points
65 Posts
split numeric value
Dec 25, 2012 04:07 AM|LINK
Hi
I have to Extract a numeric value for any type of string .
kaushikmahet...
Contributor
3773 Points
896 Posts
Re: split numeric value
Dec 25, 2012 05:08 AM|LINK
see link
http://forums.asp.net/t/1279550.aspx/1
Remember to click Mark as Answer on the post that helps to others.
Sujeet Saste
Contributor
3016 Points
576 Posts
Re: split numeric value
Dec 25, 2012 06:13 AM|LINK
Refer below link
http://weblogs.asp.net/sushilasb/archive/2006/08/03/How-to-extract-numbers-from-string.aspx
Do FEAR (Face Everything And Rise)
Please mark as Answer if my post helps you..!
My Blog
gerrylowry
All-Star
20577 Points
5721 Posts
Re: split numeric value
Dec 25, 2012 06:25 AM|LINK
@ Javed Khan welcome to forums.asp.net
sorry, but at least for me, it's not very clear what you're asking ... perhaps this article can help you add some clarity: http://weblogs.asp.net/gerrylowry/archive/2012/11/10/clarity-is-important-both-in-question-and-in-answer.aspx.
more information
(a) Extract: how?
-- as a parsed String?
-- converted to a built-in type?
(b) numeric value: what type(s)? http://msdn.microsoft.com/en-us/library/ya5y69ds.aspx
"Built-In Types Table (C# Reference)"
Int32, Double, DateTime, Decimal, UInt64, Boolean, ...
(c) any type of string: clarify, please.
String A: http://www.mathsisfun.com/numbers/fibonacci-sequence.html
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987, 1597, 2584, 4181, 6765, 10946, 17711, 28657, 46368, 75025, 121393, 196418, 317811, ...
String B: http://en.wikipedia.org/wiki/Warum_es_hunderttausend_Sterne_gibt
Warum es hunderttausend Sterne gibt, sometimes spelled ...
String C: http://avalon.law.yale.edu/19th_century/gettyb.asp
"Fourscore and seven years ago our fathers ... government of the people, by the people, for the people shall not perish from the earth."
String D: Unicode: http://msdn.microsoft.com/en-us/library/system.text.unicodeencoding.aspx
-- big endian or little endian?
-- UTF-7 or UTF-8 or UTF-16 or UTF-32?
String E: Hexadecimal:
b1fad06c835d0ff341ea112d0b71d67cf216263e
g.
april_123456
Participant
775 Points
248 Posts
Re: split numeric value
Dec 27, 2012 11:01 AM|LINK
Hello Javed,
There are a couple of methods you could try out. There are example and specifications that can be found on the StackOverFlow website found in the following link: http://stackoverflow.com/questions/3720012/regular-expression-to-split-string-and-number
Hopefully this will be able to help you.
Best of Luck!
With Kind Regards,