Expression.Identifier

Syntax

Expression.Identifier(name as text) as text

About

Returns the M source code representation of an identifier name.

Example 1

Get the M source code representation of an identifier.

Usage

Expression.Identifier("MyIdentifier")

Output

"MyIdentifier"

Example 2

Get the M source code representation of an identifier that contains a space.

Usage

Expression.Identifier("My Identifier")

Output

"#""My Identifier"""