I am using a field in which the values returned could be, all CAPS, all lowercase or a mixture. I want the field to be consistent with Caps and Lowercase. Using the InitCap function only initial caps the first word. Is there a way to have it initcap all words? Example:
Value Final Result
NEED DOC Need Doc
Need doc Need Doc
need doc Need Doc
2 TO 4 FAM 2 to 4 Fam
2 To 4 FAM 2 to 4 Fam
2 to 4 fam 2 to 4 Fam
Initcaps() only does the first letter of the object not the first letter of the each word in the object. Unless there is a clever way of implementing it.
WordCap() does the first letter of each word, but I’m unsure as to whether this will work correctly in Deski.
It certainly works in Deski, as I verified that the function was still there before posting earlier. As this is the “Deski” forum I did not bother to check in Webi since the original poster did not request that.