I must be brain dead today becuase I think I've done this before...
I want to test if a variable contains alphanumeric plus period, hyphen and underscore characters
I think toolbelt will do it but I can't figure out the syntax.
I have tried this first
<mvt:item name="ry_toolbelt" param="Assign|g.ke_test|isAlphaNumPlus(l.all_setti ngs:item:image,'.-_')" />
Then I tried this to test only for a period
<mvt:item name="ry_toolbelt" param="Assign|g.ke_test|isAlphaNumPlus(l.all_setti ngs:item:image,asciichar(46))" />
toolbelt is supposed to return a 1 (passed the tests) or a 0 (doesn't pass the test)
anyway I"m just not getting the syntax for it and I do have the current toolbelt.
Can some of you peeps help out (I can't find any example in the forum when I search for isAlphaNumPlus)?
Or maybe there is a toolkit command to test for alphanumberic plus a few characters?
I want to test if a variable contains alphanumeric plus period, hyphen and underscore characters
I think toolbelt will do it but I can't figure out the syntax.
I have tried this first
<mvt:item name="ry_toolbelt" param="Assign|g.ke_test|isAlphaNumPlus(l.all_setti ngs:item:image,'.-_')" />
Then I tried this to test only for a period
<mvt:item name="ry_toolbelt" param="Assign|g.ke_test|isAlphaNumPlus(l.all_setti ngs:item:image,asciichar(46))" />
toolbelt is supposed to return a 1 (passed the tests) or a 0 (doesn't pass the test)
anyway I"m just not getting the syntax for it and I do have the current toolbelt.
Can some of you peeps help out (I can't find any example in the forum when I search for isAlphaNumPlus)?
Or maybe there is a toolkit command to test for alphanumberic plus a few characters?
Comment