Utf8.remove

From GiderosMobile
Revision as of 23:15, 11 February 2020 by MoKaLux (talk | contribs)


Available since: Gideros 2016.06
Class: utf8

Description

Delete a substring in s. If neither start nor stop is given, delete the last UTF-8 char in s, otherwise delete char from start to end of s. if stop is given, delete char from start to stop (include start and stop). start and stop can be negative

 utf8.remove(s,start,stop)

Parameters

s: (string)
start: (number) optional
stop: (number) optional