<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def arg_as_array(self, arg, split_char="|"):
 """Turns an argument into an array, split by the splitChar :param str arg: The name of the query param you want to turn into an array based on the value :param str split_char: The character the value should be split on. :returns: A list of values :rtype: list """

        valuesString = self.get_argument(arg, default=None)
        if valuesString:
            valuesArray = valuesString.split(split_char)
            return valuesArray

        return None