Siebel eScript Language Reference > Methods Reference > Buffer Methods >

Get String From Buffer Method


The Get String From Buffer method returns a string that starts at the current cursor position in a buffer and continues for the number of bytes that you specify in the length argument. It reads the string according to the value of the unicode flag of the buffer. It does not add a terminating null byte even if you do not provide a length argument.

Format

bufferVar.getString( [length] )

Table 57 describes the arguments for the Get String From Buffer method.

Table 57. Arguments for the Get String From Buffer Method
Argument
Description

length

The length of the string to return, in bytes. If you do not specify the length argument, then this method reads the data until it encounters one of the following items:

  • A null byte
  • The end of the buffer
Siebel eScript Language Reference Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.