Showing posts with label C#. Show all posts
Showing posts with label C#. Show all posts

Thursday, March 13, 2014

Remove first character from string C#

Use substring() method.

string str = "/a.txt";
str = str.substring(1);


Output

a.txt