Pascal Scripting: Copy
Prototype:
function Copy(S: String; Index, Count: Integer): String;
Description:
Returns a string containing Count characters starting at S[Index].
If Index is larger than the length of S, Copy returns an empty string.
If Count specifies more characters than are available, only the characters from S[Index] to the end of S are returned.