string.tostring

This function converts an object to a string.

Syntax

string.tostring(input)

Arguments

Argument

Type

Description

input

object

Object to be converted to a string

Returns

Type

Description

string

String version of the object

Examples

The function string.tostring(123) returns "123".