Resource isValidResourceName

From Catglobe Wiki
Revision as of 03:57, 14 December 2011 by Cg pham (talk | contribs)
(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