Agile Tortoise

Greg Pierce’s blog

Dynamics AX String class

Axapta/Dynamics AX String class is a set of utility methods for manipulating strings. Axapta has a number of built in string functions, but there’s quite a few gaps in their functionality — or at least convenience — for some common string tasks. This is a class I’ve used over the extend those limits a bit.

It includes relatively self explanatory methods, such as “startsWith”, “endsWith”, “contains”, “split”, “replace”, “replaceAll”, etc. There some documentation built into the class and a few examples in the main method if you run the class.

It’s provide free for download and use. No restrictions, but I’d love to hear about it if you end up using it in any projects.

Download String.xpo