Utf8.remove

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

Deletes a substring in s.

utf8.remove(s,start,stop)

If neither start nor stop are given, deletes the last UTF-8 char in s, otherwise deletes char from start to end of s.

If stop is given, deletes char from start to stop (include start and stop).

start and stop can be negative.

Parameters

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