Skip to main content

fuzzy.Contains

Fuzzy substring search using sliding window (default threshold 0.8)

fuzzy.Contains(s: string, substr: string, threshold?: float64) -> bool

Arguments

NameType
sstring
substrstring
threshold?float64

Example

{{ fuzzy.Contains("hello world", "wrld") }}

Returns true.