>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Primer

# String

Characters bracketed by quotes create a string.

`char =. 'Q'
chars =. 'this is a list of characters'`

The quotes are not displayed when the string is displayed.

       char
    Q
       chars
    this is a list of characters

The quote starts and ends a string. A pair of quotes indicates that the quote character itself is in the string.

       'put 2 ''s to get 1 '' in the string'
    put 2 's to get 1 ' in the string

An unmatched quote is an error.

       abc =. 'asdf
    ¦open quote
    ¦   abc =. 'asdf
    ¦          ^

A string can be empty.

       abc =. ''

A string is also referred to as a literal constant or as a character constant.

>> << Ndx Usr Pri Phr Dic Rel Voc !: wd Help Primer