str2arr

Arguments: $text (string), $sort (bool)

Return: $array (array)

Converts a line of textual data to array.