Access string.data() classStart instead of classEnd