strRem Function
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)
Parameters
Parameter |
Description |
---|---|
text1 |
The string from which to remove characters. |
text2 |
The characters to exclude from the output string. |
Return Value
The remaining content of the original string.
Remarks
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.
See also
Announcements: To see known issues and recent fixes, use Issue search in Microsoft Dynamics Lifecycle Services (LCS).