various string related functionalities