Difference between revisions of "Utf8.codepoint"
From GiderosMobile
Line 14: | Line 14: | ||
=== <translate>Return values</translate> === | === <translate>Return values</translate> === | ||
'''<translate>Returns</translate>''' (numbers) <translate>Returns the codepoints (as integers) from all characters in s</translate><br/> | '''<translate>Returns</translate>''' (numbers) <translate>Returns the codepoints (as integers) from all characters in s</translate><br/> | ||
+ | |||
+ | {{Utf8}} |
Revision as of 22:13, 11 February 2020
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). The default for i is 1 and for j is i. It raises an error if it meets any invalid byte sequence.
(numbers) = utf8.codepoint(s,i,j)
Parameters
s: (string)
i: (number) optional
j: (number) optional
Return values
Returns (numbers) Returns the codepoints (as integers) from all characters in s