Div Games Online
logo Div Games Online

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

original functions new functions
filter functions:
[ALL 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:  

18 functions (Div / Div 2 / Div GO):

calculate(calculating text);see example
[returns a numeric value of a text and the result of the values ​​written as a calculator, ex: "((120+30)*2)/5"]
char(value or text);see example
[returns a unicode value if you put a character in quotes or returns a character if you put your unicode value]
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
lower(char or text);see example
[returns lowercase text]
ltrim(text);see example
rtrim(text);see example
sizeof(variable);see example
[returns the number of elements contained in the variable]
strcat(text destination, source text);
[returns concatenated text]
strchr(text, character);
[seek one or more characters within text, it returns the position of the first character found]
strcmp(text 1, text 2);
[compares two texts and returns 0 if both are identical]
strcpy(text destination, source text);
[source text copy on destination text]
strdel(text, start position, final position);
[returns the text starting at the start position and cutting by the final position, eliminated what it may have before and after in the original text]
[returns the value of the length of characters that there is in the text, counting also blank spaces]
strset(text, character);
[returns the first position of the text sought]
strstr(string, search string);
[returns the first position of the search string]
trim(text);see example
upper(char or text);see example
[returns uppercase texts]