A C-like string pointer.
It maintains an offset into a string and provides methods to get the substring from the current offset, check if the offset is out of range, and get the length of the remaining string.
Creates a new StringPointer instance.
StringPointer
The source string.
Readonly
The length of the remaining string from the current offset.
The current offset.
Sets the current offset.
The substring from the current offset to the end of the string.
Checks if the current offset is out of range of the source string.
true if the offset is out of range, false otherwise.
true
false
A C-like string pointer.
It maintains an offset into a string and provides methods to get the substring from the current offset, check if the offset is out of range, and get the length of the remaining string.