Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

replace multiple characters in string c#

string name="$1,300";
Console.Write((name.Replace("$","").Replace(",",""))); // output->  1300
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #replace #multiple #characters #string
ADD COMMENT
Topic
Name
6+4 =