Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

remove starting 0 in astring C#

String str ="000234".TrimStart(new Char[] { '0' } );

Console.WriteLine(str);

 //Output: 234
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #remove #starting #astring
ADD COMMENT
Topic
Name
3+5 =