strRem Function [AX 2012]

Updated: December 10, 2009

Applies To: Microsoft Dynamics AX 2012 R2, Microsoft Dynamics AX 2012 Feature Pack, Microsoft Dynamics AX 2012

Removes the characters specified in one string from another string.


str strRem(str text1, str text2)

Parameter

Description

text1

The string from which to remove characters.

text2

The characters to exclude from the output string.

The remaining content of the original string.

This function is case-sensitive.

  • strRem("abcd_abcd","Bc"); //Returns the string "abd_abd".

  • strRem("ABCDEFGABCDEFG","ACEG"); //Returns the string “BDFBDF”.

This function is complementary to the strKeep function.


Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).

Community Additions

ADD
Show: