Similar strings

I usually rely on regex to remove the redundancy. Julia has built-in regex support in case you know how to use it:

match(r"T[-0]*\d+", label)

If you are not familiar with regex syntax, you can take a look at:

https://github.com/jkrumbiegel/ReadableRegex.jl

Finally, there is

https://github.com/matthieugomez/StringDistances.jl

for distances between strings.

3 Likes