C# Read a String then extract the numbers in that string.

Posted by microsumol on Stack Overflow See other posts from Stack Overflow or by microsumol
Published on 2010-05-27T20:07:49Z Indexed on 2010/05/27 20:11 UTC
Read the original article Hit count: 219

Filed under:
|
|

How can we get the numbers 7 and 4 and 5 from the following string:

MODULE potmtpMAIN main 
<info: "Enterprise Optimizer 7.4 for COR Technology 5.5 -- Advanced Solver Edition", url:"http://EO.riverlogic.com", url_menu:"EO Online...", app_id:"EOAS",app_name:"Enterprise Optimizer AS", **app_major:7**, **app_minor:4**,**app_micro:5**,app_copyright:"\251 1996-2010 River Logic Inc.\r\nAll Rights Reserved.">

Thank You in advance

© Stack Overflow or respective owner

Related posts about c#

Related posts about string