Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

PI System Management Tools

String

  • Last UpdatedOct 04, 2024
  • 1 minute read

Convert any value to a string.

Syntax

String(x)

Arguments

  • x

    Any expression that is of normal PI value type

Returns

The string representing the value argument

Exceptions

None

Example

  • String("Hello, PI user!")

    [Returns "Hello, PI user!"]

  • String(12.23)

    [Returns "12.23"]

  • String('sinusoid')

    [Return current value of 'sinusoid' in string]

  • String('*')

    [Return the current time in string]

In This Topic
TitleResults for “How to create a CRG?”Also Available in