-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the array_combine function in PHP. Creates an array by using one array for keys and another for its values. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
-
Created On: 08/08/2020
in PHP Functions
This is the equivalent of the array_pop function in PHP. Given an array this function will return the last element of the array and remove that element from the array itself.
To see an example or learn more other PHP functions and PHP progr...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the array_keys function in PHP. Return all the keys or a subset of the keys of an array To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the preg_replace function in PHP. Searches %%subject for matches to %%pattern and replaces them with %%replacement. The optional %%limit parameter defaults to -1 (no limit).
To see an example or learn more other PHP ...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the array_sum function in PHP. Calculate the sum of values in an array To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the min function in PHP. It is used to find the lowest value.
Example
%%minvalue = array(85,66,22,99);
%%output .= sgapiPrint_R(sgapiMin(%%minvalue));
// will output 22
To see an example or learn more...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the max function in PHP. It is used to find the highest value.
Example
%%maxvalue = array(85,66,22,99);
%%output .= sgapiPrint_R(sgapiMax(%%maxvalue));
// will output 99
To see an example or learn mor...
-
Created On: 08/08/2020
in PHP Functions
This is the equivalent of the strlen function. This function returns the length of the string.
Example
The below example will return the string length entered in the textbox from question ID 2.
Check it out in an Example Survey ...
-
Created On: 08/08/2020
in PHP Functions
This is equivalent to the array_search function in PHP. Given a value(%%needle) and an array (%%haystack) this function will return the key.
To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation...
-
Created On: 08/08/2020
in PHP Functions
This function is the equivalent of the array_rand function in PHP. Picks one or more random entries out of an array, and returns the key (or keys) of the random entries.
%%arr = the defined array.
%%number = the number of returned array ...