Utf8.codepoint

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2016.06
Class: utf8

Description

Returns the codepoints (as integers) from all characters in s that start between byte position i and j (both included).

(numbers) = utf8.codepoint(s,i,j)

The default for i is 1 and for j is i. It raises an error if it meets any invalid byte sequence.

Parameters

s: (string)
i: (number) optional
j: (number) optional

Return values

Returns (numbers) the codepoints (as integers) from all characters in s