Difference between revisions of "Utf8.insert"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2016.06<br/> | '''<translate>Available since</translate>:''' Gideros 2016.06<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/utf8|utf8]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/utf8|utf8]]<br/> |
Revision as of 09:58, 3 September 2018
Available since: Gideros 2016.06
Class: utf8
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(s,idx,substring)
Parameters
s: (string)
idx: (number) index where to insert optional
substring: (string) optional
Return values
Returns (string) new string