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 */ }))) ...