Example of extending String class