`DTABase::getStr`

Read string of given length from input at offset.

       require_once '/DTABase.php';

         string
         DTABase::getStr

         string
         $input

         integer
         &$offset

         integer
         $length

         bool

          $liberal = &false;

&title.desc;

Afterwards the offset is increased. By default only a subset of ASCII is allowed (as specified by DTA), with $liberal = true apply makeValidString() first in order to accept lower case and some 8-bit chars. (NB: in this case the returned string may be up to twice as long.)

&title.param;

&type.string; `$input`

- string to check

&type.int; `&$offset`

- current offset into input

&type.int; `$length`

- chars to read

&type.bool; `$liberal`

- allow 8-bit chars

&title.returns;

returns the read string

&title.throws;

throws Payment_DTA_Exception if input is too short or contains invalid chars

&title.note; ¬e.notstatic;