New Articles

  1. sgapiTrimStr(%%string)

    This is equivalent to the chop function in PHP. This will remove the trailing whitespace. Example The below example will output the following: Text to Left all this whitespaceText to Right. %% string = ' all this whitespace ...
  2. sgapiChop(%%string)

    This is equivalent to the chop function in PHP. This will remove the trailing whitespace. Example The below example will output the following: Text to Left all this whitespaceText to Right. %% string = ' all this whitespace ...
  3. sgapiExp

    This is equivalent to the exp function in PHP. Calculates the exponent of e. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  4. sgapiASort(%%array, %%flag)

    This is equivalent to the asort function in PHP. This function sorts an array such that array indices maintain their correlation with the array elements they are associated with. This is used mainly when sorting associative arrays where the actual...
  5. sgapiArraySplice(%%input,%%offset,%%length,%%replacement)

    This is equivalent to the array_splice function in PHP. Remove a portion of the array and replace it with something else. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  6. sgapiArrayValues(%%array)

    This is equivalent to the array_values function in PHP. Return all the values of an array. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...
  7. sgapiArrayIntersect(%%array1,%%array2)

    This is equivalent to the array_intersect function in PHP. Returns an array containing all the values of array1   that are present in all the arguments. Note that keys are preserved. To see an example or learn more other PHP functions and PHP p...
  8. sgapiArraySlice(%%array,%%offset,%%length,%%preserve_keys)

    This is equivalent to the array_slice function in PHP. Returns the sequence of elements from the array as specified by the offset and length parameters. To see an example or learn more other PHP functions and PHP programming, visit PHP Documen...
  9. sgapiArray_Diff(%%array1,%%array2)

    This is the equivalent to the array_diff function in PHP. Given two arrays this function will compare %%array2 against %%array1 and return an array of values that are present in %%array1 but not present in %%array2. To see an example or lea...
  10. sgapiPi()

    This is equivalent to the array_flip function in PHP. Get the value of pi. To see an example or learn more other PHP functions and PHP programming, visit PHP Documentation . ...