add | into string