Implement string extension methods issue 1

closes #1