Resource isValidResourceName

From Catglobe Wiki
Revision as of 10:00, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Resource_isValidResourceName

Check if a string can be used as a general resource name

Syntax

Resource_isValidResourceName(name)

Arguments

  • name: is a string expression, it must follow the format of resource name (there is another function for checking username: User_isValidUsername)

Return value

bool

Example

bool b = Resource_isValidResourceName("Yet another resource name");

Availability

Version 5.6