add string helper functions and cleanup playground