Tuesday, May 24, 2011

To pad the string in AX 2009

Hi,
To pad the special char to end/start of the string follow below function,
client server public static str StrLFix(
    str _str, 
    int _length, 
   [char _char])
 
And 
client server public static str StrRFix(
    str _str, 
    int _length, 
   [char _char]) 
 
Regards,
/Ashlesh 

No comments:

Post a Comment