Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab. Download now (direct download link)
Thank this author by sharing:
By Kshitij Satpute, 2015/03/17
With this script we'll convert the string into xml and parse it using x-query. This method allows us to overcome R-BAR and produces zero reads.
It is the fastest way to split a delimited string where delimiter length within the string may or may not vary.
'string' = 'string___' ???
String Output
csv string
String Formatting
string manipulation