Primitive predicate string::substring

Returns the substring of the receiver which starts and ends at the given indices

string substring(int startPos, int endPos)