$hfind(name/N, text, N, M)
Searches table for the Nth item name which matches text. Returns item name.
Properties: data
If you specify the .data property, searches for a matching data value.
Edit:
@ xyzzy
try using $hfind(Badwords,$($+($,%a),2),1,w).data
w text is wildcard text