# GetString Method

## Applies to

TBuffer class

## Declaration

function GetString(FromIndex, UntilIndex: Integer): TBuffString; {$ifdef UseInline} inline; {$endif}

## Description

The GetString method returns a partial string of the buffer converted to unicode.

The partial string starts with the FromIndexth byte and ends before the UntilIndexth byte.

## See also

- TBuffer.AsString Method
- TBuffer.Convert Methods