String

implement some functions of string