added basic string functionalities in base/string.coffee