Div Games Online
logo Div Games Online

Documentation: Functions list of Div GO : Div Games Online v1.44.0

all functions (Div / Div 2 / Div GO) original functions (Div / Div 2) new functions (Div GO)
filter functions:
[math] [graphics primitives] [string] [print text] [interaction processes] [scroll] [mode7] [scene3D] [graphic effects] [sound] [video] [geometric] [pathfinding] [color] [region] [general interaction program] [date/time] [saved data] [string conversion] [resource load] [music module] [array functions]
search functions:  

6 new functions (Div GO):

explode(variable, delimiter character);see example
[returns an array with the values delimited by the character string, making each element of the array has a fragment of the string]
implode(array, unifying character);
- returns a string with the array elements together by the unifying character
ltrim(text);see example
regex(type, text, expression, modifier, replacement);see example
- type:
0 o "s": search word
1 o "m": search for all similarities
2 o "r": search and replace
- text: text where to search
- expression: regular expression
- modifier (optional):
"g": global search
"i": search case insensitive
"m": multi-line search
"s": allows the . match newline characters
"u": unicode
- replacement (optional): replacement text
rtrim(text);see example
trim(text);see example