Wednesday, December 14, 2016

What string manipulation functions are available in the AEM Javacript Use API?

When i was working with my first AEM Javascript Use API, there are some great links to help you get started.

Notably this one AEM Manager Podcast - Understanding the JavaScript Use-API for AEM

However, I had a lot of trouble figuring out exactly what string manipulation methods were allowed.
Index of? Contains?

As it turns out, you can use any of the EcmaScript JavaScrip methods.
The full list is here:

Mozilla developer network : JavaScript reference