Utf8.insert
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
Inserts a substring to s.
(string) = utf8.insert(s,idx,substring)
If idx is given, insert substring before char at this index, otherwise substring will concat to s. idx can be negative.
Parameters
s: (string)
idx: (number) index where to insert optional
substring: (string) optional
Return values
Returns (string) new string