[Overview][Constants][Types][Classes][Procedures and functions][Variables] | Reference for unit 'Classes' (#fcl)

# TStringStream.Create

Creates a new stringstream and sets its initial content.

## Declaration

`public constructor TStringStream.Create(`
`const AString: String`
`);`

## Description

Create creates a new TStringStream instance and sets its initial content to Astring. The position is still 0 but the size of the stream will equal the length of the string.

## See also

TStringStream.DataString |  | Contains the contents of the stream in string form