Test Data Generator
Generate Test Data
Function Reference
All Functions
char
- alphabetical character
string
- string of alphabetical characters
ascii
- ASCII characters
unicode
- unicode characters
sentence
- a group of words
paragraph
- a group of sentences
consonant
- Consonant
vowel
- vowel
int
- number
bin
- binary value
hex
- hexadecimal value
oct
- octal values
increment
- incremental value
range
- range of numbers
gps
- latitude longitude coordinates
modulo
- modulo calculation
byte
- eight bits
ip
- IP address
mac
- MAC address
guid / uuid
- globally / universally unique identifier
ccn
- Credit Card Number
iban
- international bank account number
ogm
- Gestructureerde mededeling (Belgium)
bban
- basic bank account number (Belgium)
bic
- bank identifier (SWIFT) code
onn
- ondernemingsnummer (Belgium)
gtin
- Global Trade Item Number
ean
- EAN International
ucc
- Uniform Code Council
sscc
- Serial Shipping Container Code
cip
- Catalogue Item Publication
jan
- Japanese Article Number
upc
- Universal Product Code
grai
- Global Returnable Asset Identifier
gsrn
- Global Service Relation Number
gdti
- Global Document Type Identifier
gsin
- Global Shipment Identification Number
gcn
- Global Coupon Number
gln
- Global Location Number
ssn
- social security number (United States)
itin
- Individual Taxpayer Identification Number (US)
rrn
- rijksregisternummer (Belgium)
insee
- code INSEE (France)
email
- e-mail address
fname
- first name (given name)
lname
- last name (Surname)
country
- countries
datetime
- date and time
date
- date and time
time
- time
upper
- upper case
lower
- lower case
ucfirst
- upper case first letter
strip
- remove all whitespace
trim
- remove whitespace
replace
- string replace
truncate
- truncate string length
reverse
- reverse a string
leftpad
- Left Padding
rightpad
- Right Padding
list
- custom list
nl
- new line character
tab
- tab character
;
- Separator character
reverse
- reverse a string
This modifier function reverses the sequence of characters in a string.
Usage(s)
reverse
(
$string
)
Returns the input string with its characters in a reverse order
Parameter(s)
$string
The string to be reversed
Example(s)
Reversing strings and numbers
reverse(Grumpy wizards make toxic brew for the evil Queen and Jack.)
Always returns:
kcaJ dna neeuQ live eht rof werb cixot ekam sdraziw ypmurG
reverse(1234,1337)
Always returns: 7331,4321
See also
truncate
- truncate string length
replace
- string replace
Back to Top