strIns Function
Dynamics AX 2009
Builds a string by inserting one string into another.
str strIns(str _text1, str _text2, int _position)
The strIns function is complementary to the strDel function. If the value of the _position parameter is greater than the length of the original string, the string to be inserted is appended to the end of the original string.
-
strIns("ABFGH","CDE",3); //Returns the string "ABCDEFGH".
-
strIns("ABCD","EFGH",10); //Returns the string "ABCDEFGH".
Community Additions
ADD
Show: