What do you mean by 'similarity'? What makes one string similar to another?
If you want equality then you can just use '=='
eg.
if stringA == stringB {
//do something
}
--
=====================
http://jessta.id.au
I think he is looking for computing the "distance" between strings (for
example, the Levenshtein distance):
http://en.wikipedia.org/wiki/Levenshtein_distance
http://en.wikibooks.org/wiki/Algorithm_Implementation/Strings/Levenshtein_distance
I don't know of any package doing this. But shouldn't be too complicated
to write a function computing this distance.
M;
for idx := range(str) {
}
for i=int(0); i < len(str); i++; {
}
--
André Moraes
http://andredevchannel.blogspot.com/