Searching Using Special Characters with the Search Language

The characters & + - ( ) have a special importance in the search syntax.

The syntax interprets them in names, provided that you surround those characters or text strings containing those characters by the character ' (apostrophe by default).

See Also
Running a Search through Power Input
  1. Use one of the following syntaxes:

    Syntax Description
    n:*')' Searches for all names ending with ).
    n:*'&' Searches for all names containing &.
    n:*'(1)' Searches for all names ending with (1).

    The Quote = " ' "; line in the KeyboardInput.CATNls resource file specifies the default character for surrounding strings.

    The character * is always interpreted as a wild card except if surrounded by two characters '.

    For example:

    Syntax Description
    n:*''*'' Searches for all names ending with *.
    n:*''*''* Searches for all names containing *.
    n:*'&'''*''* Searches for all names containing &*.
    n:'*)' Searches for all names ending with ). This is identical to n:*')'.

  2. Double the character ' twice to make it interpreted literally.

    For example:

    Syntax Description
    n:*''''* Searches for all names containing '.
    n:P''''* Searches for all names beginning with P'.
    n:P''''''''* Searches for all names beginning with P''.