Previous Topic

Next Topic

Str - MaxBasic Function

Str(Expression: Variant): String

Converts Expression into a string. This converts the expression into its string representation. This is not often required as the & operator converts expressions to strings before concatenation.

Str function syntax has these named arguments:

Parameter

Description

Expression

Required. Expression to be converted to a string.

Sample code:

  Print Str(555)

Returns: "555"

See Also

String Functions

Book Contents

Book Index