left#

swordfish.function.left()#

Return the first n characters of string X.

If X is a table, the function is applied only to columns of STRING type. Other column types are ignored.

参数:
  • X (Constant) -- A STRING scalar/vector, or table.

  • n (Constant) -- A positive integer.