I should have been more clear. The field is about a paragraph in all CAPS. Ideally I would like it to only capitalize after a sentence ends. I'm trying to make it readable by making it 'proper' case. Here is the link to achieve it in JavaScript, Python, VBScript and Arcade: Specify text for labels—ArcGIS Pro | ArcGIS Desktop. Here is the example from the link using 'proper' case.
Proper($feature.NAME, 'firstword')
Python
def FindLabel ( [NAME] ): S = [NAME] S = S.title() return S
VBScript
Function FindLabel ( [NAME] ) FindLabel = UCase(Left([NAME],1)) & LCase(Right([NAME], Len([NAME]) -1)) End Function
JScript
function FindLabel ( [NAME] ) { var str = [NAME]; var iLen = String(str).length; var upper = (str.substring(0,1)).toUpperCase(); var lower = (str.substring(1, iLen)).toLowerCase() return upper + lower; }
For custom popups, there is only the option for HTML. A lot of data is recorded in CAPS so I'm surprised to not see something like this out of the box. Any ideas on formatting?