asked on
string str1 = "abcdet5678sd"; // containg 5678
srting str2 = "dfg34567c"; // containing 2456
I want to extract these numeric values.string new_str = "5678"
string new_str = "34567";
The question is that we don't know how long of the digit number and what is the position.ASKER
ASKER
C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).
TRUSTED BY
Open in new window