Returns the length of the last encoded sequence.
The input to this function MUST be validly encoded. This is enforced by the function's in-contract.
the string to be sliced
assert(lastSequence("1000\u20AC") == "\u20AC".length); assert(lastSequence("hellö") == "ö".length);
See Implementation
Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250, WINDOWS-1251, WINDOWS-1252
Returns the length of the last encoded sequence.
The input to this function MUST be validly encoded. This is enforced by the function's in-contract.