RosettaCodeData/Task/Soundex/Tcl/soundex.tcl
2023-07-01 13:44:08 -04:00

6 lines
178 B
Tcl

package require soundex
foreach string {"Soundex" "Example" "Sownteks" "Ekzampul"} {
set soundexCode [soundex::knuth $string]
puts "\"$string\" has code $soundexCode"
}