getString
string public static \Bitrix\Main\Security\Random::getString( integer $length, boolean $caseSensitive = false );
Static method returns arbitrary string and if possible, alphanumeric string.
Parameters
Parameter | Description | Version |
---|---|---|
$length | Result string length. | |
$caseSensitive | Generate case-sensitive arbitrary string (for example SoMeRandom1 ). |
Example
© «Bitrix24», 2001-2024
Up