Text.setString

Set the text's string.

A text's string is empty by default.

class Text
void
setString
(
T
)
(
const(T)[] text
)
if (
is(T == dchar) ||
is(T == wchar)
||
is(T == char)
)

Parameters

text const(T)[]

New string

//deprecated: Use the 'string' property instead.

Meta