Inside Coldfusion MX
Compare (string1, string2) Description
Performs a case-sensitive comparison of two strings. Returns the following:
Example
<cfoutput> Compare dogs and Dogs: #compare('dogs', 'Dogs')# Compare bunnies and bunnies: #compare('bunnies', 'bunnies')# Compare dogs and bunnies: #compare('dogs', 'bunnies')# </cfoutput> |