Sign up for Free
Pricing
About
Documentation
Documentation
Keecode / Core Concepts
Variables
Conditions
Loops
Operators
Keecode / Functions
bool
capitalize
count
css
date
except
extract
float
int
join
json
list
lower
mail
normalize
phone
prefix
range
replace
retry
search
search_extract
similarity
split
str
sub
suffix
sum
upper
url
urlparse
xpath
Open site navigation
Open site navigation
Pricing
Sign in
Sign up
similarity
Implements Jacard algorithm. Returns a Float that represents the similarity between two Strings. If equals to
1.0
, it means the Strings are the same.
similarity
($data
,
compare
)
:
Float
$data.
similarity
(
compare
)
:
Float
Parameters
$data
String
compare
String
Examples
How to calculate similarity between Strings