Jul-04-2020, 07:47 AM
(Jul-03-2020, 07:55 PM)mbilalshafiq Wrote: if i run above function as below equation , perfect run but when run without spaces then raise error as above described
Of course it does, because
split
by default will split on whitespace and since there isn't any, it returns the whole string (i.e. a single item). If you don't specify a separator to split on, how do you expect it to know what to do?