Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

CONDENSE a string?


Level 8


In some other scripts, we have the below syntax to ERASE all the left spaces or zeros & condenses finally, makes it a meaningful string with a good intendation,

SHIFT my_variable LEFT DELETING LEADING spaces/zeros,

do we have a EQUIVALENT code in JavaScript?

Thank you

0 Replies