Sample join method for string