Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

c# substring

var str = "Some String";

public string Substring(int startIndex);

var valueOfSubstring = str.Substring(5);

public string Substring(int startIndex, int length);

var valueOfSubstring = str.Substring(5, 3);
 
PREVIOUS NEXT
Tagged: #substring
ADD COMMENT
Topic
Name
5+3 =