SyntaxFix
Write A Post
Hire A Developer
Questions
To get the first n number of characters from a string in C#
String yourstring="Some Text"; String first_n_Number_of_Characters=yourstring.Substring(0,n);