added new functionalities to strings