Answers for "c# get the first integer in a string"

C#
0

get first number in string C#

var input = "12985bwevgjb9812";
string firstDigit = new String(input.TakeWhile(Char.IsDigit).ToArray());
Posted by: Guest on September-04-2020

Code answers related to "c# get the first integer in a string"

C# Answers by Framework

Browse Popular Code Answers by Language