Description
array arr_value_to_upper (array array) arr_value_to_upper () converts all values with alphabetical characters in a single- or multi-dimensional array to upper case. Array keys will not be converted, e.g. "course" in array("course"=>"Information Retrieval") will not be converted.
Parameters
arrayThe input array.
Return Values
arr_value_to_upper () returns an array of converted values.
Errors/Exceptions
arr_value_to_upper () prints an error message if error occurs.
i. Incorrect number of input arguments.
ERROR! Wrong argument count for arr_value_to_upper.
ii. Incorrect input type for array.
ERROR! Wrong datatype for first argument in arr_value_to_upper, an array is expected.
|