Security isValidPassword

From Catglobe Wiki
Revision as of 05:20, 22 December 2011 by Cg van (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Security_isValidPassword

Check if a string could be used as a password

Syntax

Security_isValidPassword(password)

Arguments

  • password: is a string expression, it must follow the common format for password

Return value

bool

Example

bool a = Security_isValidPassword("123");

if (a) print("Valid password");

else print("Invalid password");

//Result: Invalid password

//--------------------

bool b = Security_isValidPassword("abcd125789");

if (b) print("Valid password");

else print("Invalid password");

//Result: Valid password

Availability

Version 5.6