Fastest way to split a concatenated string into a tuple and ignore empty strings,tuple(a[:-1].split(';'))