Padding a string to a fixed length C# with Example



Padding a string to a fixed length C# with Example

 

string noPadded = s.PadLeft(2); // noPadded = "Foo" (original string is never shortened) 

0 Comment's

Comment Form