The substring method extracts the characters from a string between two specified indices.
System.String substring(System.Int32 start, System.Int32 end);
start
he position where to start the extraction. First character is at index 0
end
[Optional] The position where to end the extraction. Default end of the string.
Returns the extracted string
Member of string.