DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
5+7 =
Submit