String Objects

Literal Strings

(This is a string )
(Strings may contain newlines
and such.)
(Strings may contain balanced parentheses () and
special characters (*!&}^% and so on ).)
(The following is an empty string.)
()
(It has zero (0) length.)

Hexadecimal Strings

Strings may also be written in hexadecimal form, which is useful for including arbitrary binary data in a PDF file. A hexadecimal string is written as a sequence of hexadecimal digits (0–9 and either A–F or a–f) enclosed within angle brackets (< and >):

<4E6F762073686D6F7A206B6120706F702E>

Each pair of hexadecimal digits defines one byte of the string. White-space characters (such as space, tab, carriage return, line feed, and form feed) are ignored.