Documentation

string::SubStr

Method in string

string SubStr(int index) const

Returns the remainder of the string after the given index. For example; for the string "Hello", SubStr(1) returns "ello".

int index

Returns string
string SubStr(int index, int length) const

Returns a portion of the string from the index and length. For example; for the string "Hello", SubStr(1, 3) returns "ell".

int index

int length

Returns string