[data structure] string: add heap string basic operations