I use PARSENAME all the time: it’s in my quick “design patterns” toolkit that I dip into once in a while. In addition to an IPv4 address, I’ve used it to parse a field with a mixed number of separators: for example something like “ABC/DE/F” and “MN/O”. I wrap the field in a series of nested functions (from inside out):
This might seem to be overkill, but all of this uses built in T-SQL functions and runs very fast.
Beer's Law: Absolutum obsoletum
"if it works it's out-of-date"