File Exchange

image thumbnail


version (4.71 KB) by Seth Kenner
Find the best comparison to a string from a list of strings


Updated 30 Jun 2015

View License

The strcmprate function compares a string to a list of strings returning the index and rating of the best comparison from the list.
[i,r] = strcmprate('testing costs',{'test cost' 'costing test' 'cost testing'})

i = 3
r = 0.6923

This function was written to find small discrepancies in text fields and records in a database from data entry errors.

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags