split strings with escapes