Neater string slice method