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

3 responses to “Dynamics AX String class”

  1. Agile Tortoise » Dynamix AX (Axapta) String class

    [...] I’ve posted a utility String class I wrote years ago for Axapta. I’ve also compiled and used it in Dynamics AX v4. It extends the rather limited built-in string functions with a number of other common string manipulations and comparisons like “endsWith”, “replace”, “split”, etc. Cat:  [...]

  2. Steffen

    Excellent idea – just stumpled upon this post as I was browsing for a simple string replace tool for AX2009. Great post – mind if I refer to it from my blog?

Leave a Reply

Switch to our mobile site