string_piece: add substr