Use the "search=" option of the "Set" command.
Example
Set V[x] "&F[Material short text]" search="cable"
if Q[ok]
// found
endif