---
id: tsplitbuffer
title: TSplitBuffer
sidebar_label: TSplitBuffer
---
An array of split text from a TStringBuilder.
Note that the [TSplitBuffer](../../../brl/brl.stringbuilder/tsplitbuffer) is only valid while its parent [TStringBuilder](../../../brl/brl.stringbuilder/tstringbuilder) is unchanged.
Once you modify the TStringBuffer you should call Split() again.
## Methods
### `Method Length:Int()`
The number of split elements.
### `Method Text:String(index:Int)`
Returns the text for the given index in the split buffer.
### `Method ToArray:String[]()`
Creates a new string array of all the split elements.