add string method

Change-Id: I5fdeb3dcd1d104dc6b89f5b7e131b5454098be8a