Resource isValidResourceName

From Catglobe Wiki
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