New Articles

  1. sgapiArrayCombine(%%keys array,%%values array)

    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 . ...
  2. sgapiArray_Pop(%%array)

    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...
  3. sgapiArrayKeys(%%array)

    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 . ...
  4. sgapiPreg_Replace(%%pattern, %%replacement, %%subject, %%limit)

    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 ...
  5. sgapiArraySum(%%array)

    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 . ...
  6. sgapiMin (%%array)

    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...
  7. sgapiMax(%%array)

    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...
  8. sgapiStrLen(%%string)

    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 ...
  9. sgapiArraySearch(%%needle,%%haystack)

    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...
  10. sgapiArray_Rand(%%array,%%number)

    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 ...