Quantcast
Channel: Microsoft Dynamics AX
Viewing all articles
Browse latest Browse all 130240

Forum Post: RE: check whether string is a guid.

$
0
0

The easiest option is to call str2guid() and check if you get a value (as done in AifMessage::validate()). Another way would be to use System.Guid::Parse()/TryParse(). Yet another would be to use a regular expression.


Viewing all articles
Browse latest Browse all 130240


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>