util: Introduce string tokenize helper routine