Click here to Skip to main content
15,902,908 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am having a string on clip board.

I need to extract only numbers from that values

How to do this using C#
Posted
Comments
[no name] 28-Mar-14 10:04am    
Has anyone told you yet that we cannot see your code or read your mind yet?
KUMAR619 28-Mar-14 10:15am    
I am having a text box containing 10 lines which contains many numbers
I want to extract only numbers in that and separate them by comma.

How to do this

1 solution

You can use one of the String[^] methods, to extract substrings, split or otherwise parse the data. However, we need more information if you want further help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900