operation on string