Remove particular chars from a string in MSD axapta x++

 strRem (Removes particular chars from a string)

 info("str strRem(str text1, str text2)");  
 info("Removes the characters specified in one text string from another text string.");  
 info("text1 - The original text string.");  
 info("text2 - The text string you want to remove the letters from.");  
 info("strRem(\"ABCDEFGABCDEFG\",\"ACEG\") " + strRem("ABCDEFGABCDEFG","ACEG"));