toString

Returns a D string copy of a zero terminated C style string

pure
immutable(T)[]
toString
(
T
)
(
in const(T)* str
)
if (
is(T == dchar) ||
is(T == wchar)
||
is(T == char)
)

Parameters

str const(T)*

The C style string to convert

Return Value

Type: immutable(T)[]

The D style string copy.

//deprecated: This method is expected to be removed in DSFML 2.5.

Meta