miva_joinstring()

 
Joins a simple array and outputs a string seperated by the join_with character or characters. If the input parameter is an array, then a string is returned with each array element's value separated by the join_with parameter along with any modifications made via the flags parameter. If the input parameter is a string, then a string is returned alongside any modifications made via the flags parameter. If the input parameter is a structure, an empty string is returned
Syntax
miva_joinstring( input var, join_with, flags )
Returns : The joined string.
  • input = The input string, variable or simple array.
  • join_with = The string that will seperate array elements
  • flags = A comma separated list of any of the following keywords escape : Escapes the join_with characters. If the join_with characters exists in the elements value. insensitive : When combined with the escape flag, it will search for the join_with characters in an insensitive fashion.
User Annotations: miva_joinstring