legal identifier check

downs default_357-line at yahoo.de
Sat May 30 22:33:11 PDT 2009


Saaa wrote:
> Is there a function to check whether some string is a legal identifier? 
> 
> 

Sure.

static if(is(typeof({ /* code to be checked for validity goes here */ }))) ...


More information about the Digitalmars-d-learn mailing list