string | A string value. |
The #MANGLE statement takes any string and returns a valid ECL identifier label containing only letters, numbers, and underscore (_) characters. #MANGLE replaces non-alphanumeric characters with an underscore (_) followed by the hex value of the character it's replacing.
Example:
#DECLARE (mstg) #DECLARE (dmstg) #SET (mstg, #MANGLE('SECTION_STATES/AREACODES')); export res1 := %'mstg'%; res1; //res1 = 'SECTION_5fSTATES_2fAREACODES' // Do some processing with ECL Valid Label name "mstg" #SET (dmstg, #DEMANGLE(%'mstg'%)); export res2 := %'dmstg'%; res2; //res2 = 'SECTION_STATES/AREACODES'
See Also: #DEMANGLE, Attribute Names