#DEMANGLE

#DEMANGLE( identifier );

identifierA valid ECL identifier label containing only letters, numbers, dollar sign ($), and underscore (_) characters.

The #DEMANGLE statement takes an identifier string and returns the string as it was before it was #MANGLEd.

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: #MANGLE, Attribute Names