troubleshooting Question

getting number from string

Avatar of EnolaKotrotsos
EnolaKotrotsos asked on
C#
2 Comments1 Solution199 ViewsLast Modified:
goodafternoon,

say i have this string

"this is a string with the number 34328 in it"

and i want just the number put into a integer variable.how do i do that?
offcourse the string can be any string containing any number of characters and the number can be of any size.
how do i make it so that I just get the number if there is any inside a string. there is alway's only one number inside the string

thanks
Marco
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros