Implement 'string' loop traversal