C Charles G Apr 1,794 15 Nov 6, 2021 #1 With a lower[] and upper[] function already existing, adda a proper[] that would take care of McCarthy and similar. McWhatever MacWhatever not sure what other examples would be....
With a lower[] and upper[] function already existing, adda a proper[] that would take care of McCarthy and similar. McWhatever MacWhatever not sure what other examples would be....
Charles Dye Super Moderator May 4,947 126 Staff member Nov 6, 2021 #2 I'm not sure that that can be handled by a simple algorithm. Recognizing names in context is not an easy task for a MacHine such as a MacIntosh. (Names starting with Mc or O' might be easier.)
I'm not sure that that can be handled by a simple algorithm. Recognizing names in context is not an easy task for a MacHine such as a MacIntosh. (Names starting with Mc or O' might be easier.)
C Charles G Apr 1,794 15 Nov 6, 2021 #3 Well - why not: %@UPPER[0,1,%@lower["THE GUY'S NAME IS SAMMY MCINTOSH"]] then check for special cases like "McIntosh" to see if it's a valid case.....
Well - why not: %@UPPER[0,1,%@lower["THE GUY'S NAME IS SAMMY MCINTOSH"]] then check for special cases like "McIntosh" to see if it's a valid case.....
Charles Dye Super Moderator May 4,947 126 Staff member Nov 6, 2021 #4 If I saw a way to do it without a dictionary, I'd write you a plugin. But the request was for Rex, anyway. And we all know he's MacGyver. No doubt he can whip up a simple MacRo. Charles
If I saw a way to do it without a dictionary, I'd write you a plugin. But the request was for Rex, anyway. And we all know he's MacGyver. No doubt he can whip up a simple MacRo. Charles
w_krieger Nov 247 2 Dec 1, 2021 #6 If you are going to do Mac and O' and other joint names, you would need a special char to indicate wordbreak with no space.
If you are going to do Mac and O' and other joint names, you would need a special char to indicate wordbreak with no space.
Charles Dye Super Moderator May 4,947 126 Staff member Dec 1, 2021 #7 w_krieger said: If you are going to do Mac and O' and other joint names, you would need a special char to indicate wordbreak with no space. Click to expand... ZWSP, perhaps? — Could you expand on this idea a bit?
w_krieger said: If you are going to do Mac and O' and other joint names, you would need a special char to indicate wordbreak with no space. Click to expand... ZWSP, perhaps? — Could you expand on this idea a bit?
rconn Administrator May 13,015 192 Staff member Nov 20, 2022 #8 This doesn't seem to me to be of widespread utility. Something for a plugin, or using TPIPE.