Monkey patched the class String

This is another way to solve the problem...
But is kind ugly and hide the problem I guess.