X++ Like Operator
we can use it for strings in MS Dynamics AX like this :
static void LikeTest()
{
str str;
;
str="expiry";
if(str like "exp*")
info('"like work ");
}
Comments
-
This is indeed a little unknown and underused feature. It's very useful since you can use this operator in the WHERE clause of a query in X++ as well.
*This post is locked for comments