Searching a substring: I'm looking for a simple possibility to search a particular word or string, e.g. "cable", in the material short text.

Use the "search=" option of the "Set" command.

Example

Set V[x] "&F[Material short text]" search="cable"

if Q[ok]

  // found

endif