Quote:

Doc, you are right it is not NoVarsInStrings compliant, but there is another issue as pearly says.





Yes, but I wasn't going to debug it like you did

The other UDF I linked to can do much more than this one.