left

Description

Extract a specified number of characters from the left side of a text.

Input / Parameter

Output

Callback

N/A

Video

Coming soon.

Example

The user wants to display a specified number of characters from the left hand side of a string.

Step

  1. Call the function console. Call the function left inside the value parameter of the console function. string: 123456789 length : 6

Result

Last updated