string()

Scalar. Converts a given value of any type to an equivalent string.

Syntax

string ( value )

Parameters

value

An argument of any datatype, except binary or string.

Usage

Converts a given value into an equivalent string expression. The argument can be any datatype, except binary or string. The function returns a string.

Example

string (1935) returns '1935'.