Toggle menu
862
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Security isValidPassword: Difference between revisions

From Catglobe Wiki
jrfconvert import
 
Cg van (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
{{HelpFiles}}



====Security_isValidPassword====
==== Security_isValidPassword ====


Check if a string could be used as a password
Check if a string could be used as a password  


'''Syntax'''
'''Syntax'''  


Security_isValidPassword(''password'')
Security_isValidPassword(''password'')  


'''Arguments'''
'''Arguments'''  


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


'''Return value'''
'''Return value'''  


bool
bool  


'''Example'''
'''Example'''
 
''bool a = Security_isValidPassword("123");''
 
''if (a) print("Valid password");''
 
''else print("Invalid password");''
 
''//Result: Invalid password''
 
''//--------------------''


''bool b = Security_isValidPassword("abcd125789");''
''bool b = Security_isValidPassword("abcd125789");''


'''Availability'''
''if (b) print("Valid password");''
 
''else print("Invalid password");''
 
''//Result: Valid password''
'''Availability'''  
 
Version 5.6 __NOTOC__ <!-- imported from file: 6284.htm-->


Version 5.6
[[Category:General_Functions]]
__NOTOC__
<!-- imported from file: 6284.htm-->

Latest revision as of 04:20, 22 December 2011



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