Pass any string to give varriable @vString you want to convert to initcap. Execute the script your string changed to initcap.
Splitting Strings Based on Patterns
Splitting strings based on patterns supported by LIKE and PATINDEX can be an interesting way to address a wide variety of problems.
2014-09-12 (first published: 2012-11-29)