We need your help! 🔥
Please consider disabling your ad-blocker to support this website! 🔑
We are a free, community-supported website! 🥰
We only display small unobtrusive ads which help us stay online! 💯
Thank you in advance! ❤️
Data
Data Sets
Generate
Machine Learning
Mass
Math
Mesh
Models
Panels
Serialization
Structure
Trainer Types
Util
Workflow

String Distance

Evaluates the 'distance' (difference) between two strings using a Levenshtein algorithm. A distance score of 0 represents a perfect string match. Higher scores indicate greater distance between the strings.

Inputs

NameIDDescriptionType
String AStrAA text string.Text
String BStrBA text string to measure against.Text
To LowercaseToLowerConvert the case the strings to lowercase for string distanace calcuations.Boolean
Remove SpacesremoveSpacesRemove spaces from the strings for string distance calcuations.Boolean
Remove SubstringsremoveSubStringsRemove substrings from the strings for comparisons.Boolean
SubstringsSubstringsA list of substrings to remove from the source strings. Useful for removing unnecessary characters from string distance calcuations.Text

Outputs

NameIDDescriptionType
Distance ScoreScoreThe distance score. 0 indicates a perfect string match. The high the number, the greater the string distances (differences)Generic

Video Tutorials

Site design © Robin Rodricks.   LunchBox and associated data © 2025 Nathan Miller.  
Rhinoceros and Grasshopper are registered trademarks of Robert McNeel & Associates.  Hosted by GitHub

Report an Issue  |  Terms of Service