All Functions

string - string of alphabetical characters

Returns a string with random alphabetical lower case characters.

For readability, the string returned will always start with a consonant and will be interspersed with a vowel.

Note: Only standard Latin characters are returned.

Usage(s)

string ( $length ) Returns a string of random characters with a fixed length $length
string ( $minimum, $maximum ) Returns a string of random characters with a random length between $minimum and $maximum
string ( ) Returns a string with 2 to 9 random characters

Parameter(s)

$length the fixed length of the output string
$minimum the minimum length of the output string
$maximum the maximum length of the output string

Example(s)

String Example

string(3)
string(5,6)

The above examples could output:
abc
abcdef

String with no parameters

string() - will return a string with 2 to 9 characters (the average string in the English language is 5.10 characters long, hence the range chosen)

cyqel
tahokuvir
hy
xanudu
qapopimog
tyr
cumucevu
vyqypev
sapobuva
fasirap
rukoq
ru
fak
ze
jesa
sudyhawa
savidybe
mehysuxen
xati
zazav

See also

char - alphabetical character sentence - a group of words paragraph - a group of sentences vowel - vowel consonant - Consonant ascii - ASCII characters