PureBasic - StringBuilder

Overview

The StringBuilder library provides efficient string concatenation and manipulation. When concatenating many strings together, using a StringBuilder is much more efficient than repeatedly using string concatenation operators. This library manages internal buffers to minimize memory allocations and copies.

Any number of string builders may be handled at the same time. Each string builder maintains an internal buffer that grows as needed, and the final string can be extracted when all appending operations are complete.

Command Index

AppendStringBuilderString
AppendStringBuilderStringN
CreateStringBuilder
FreeStringBuilder
GetStringBuilderString
IsStringBuilder
ResetStringBuilder

Supported OS

All

Reference Manual - Index