Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

random string

function randStr(n) {
    var str = '';
    for (var i = 0; i < n; i++) {
        str += String.fromCharCode(Math.floor(Math.random() * 26) + 97);
    }
    return str;
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #random #string
ADD COMMENT
Topic
Name
2+1 =