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'%;
OUTPUT(res1); //res1 = 'SECTION_5fSTATES_2fAREACODES'
// Do some processing with ECL Valid Label name "mstg"
#SET (dmstg, #DEMANGLE(%'mstg'%));
EXPORT res2 := %'dmstg'%;
OUTPUT(res2); //res2 = 'SECTION_STATES/AREACODES'
See Also: #DEMANGLE, Attribute Names