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

Analytics and Notifications for PI System Explorer (PI Server 2024 R2)

Left

  • Last UpdatedOct 04, 2024
  • 1 minute read

Return a specified number of characters of a string from the left.

Syntax

Left(s1, len)

Arguments

  • s1

    String

  • len

    Integer

Returns

The first len characters of the string, starting from the left

Exceptions

If the arguments are not of the required types, returns an error

Example

  • Left("String_att", 3)

    [Returns "Str"]

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