when user types a '&' in the header text (&header&) in a sales order, it becomes '<(>&<)>' internally. when i want to limit the output length, say &header+0(10)&, it counts the length including '<(>&<)>' .
&header& = 'abc & def'
internally it becomes: 'abc <(>&<)> def ' and the output becomes: 'abc <(>&<)' which is not desired....
How can I correctly output the length of the header text with sapscript program with length 10 ?