optimized single char splti and empty str