Utf8.insert

From GiderosMobile
Revision as of 11:03, 23 August 2018 by Hgy29 (talk | contribs) (Created page with "__NOTOC__ '''Available since:''' Gideros 2016.06<br/> === Description === Insert a substring to s. If idx is given, insert substring before char at this index, otherwise subst...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.06

Description

Insert a substring to s. If idx is given, insert substring before char at this index, otherwise substring will concat to s. idx can be negative.

(string), = utf8.insert(sidxsubstring,)

's: (string) '
idx: (number) index where to insert optional
substring: (string) optional
Returns (string) new string