Function Namespace Pot.Complex.rand.caseOf
Defined in: <pot.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Pot.Complex.rand.caseOf(string)
Returns a string that converted by random case-sensitive of
the alphabet in a given string.
|
Function Namespace Detail
Pot.Complex.rand.caseOf(string)
Returns a string that converted by random case-sensitive of
the alphabet in a given string.
var s = 'd41d8cd98f00b204e9800998ecf8427e'; debug(rand.caseOf(s)); // @results // e.g. 'D41D8Cd98F00b204E9800998Ecf8427e'
- Parameters:
- {String} string
- Target string.
- Returns:
- {String} The result string.