Doc > Expressions > arg

Doc > Expressions > arg

Returns one argument from a space-separated arguments list

Description

It takes 2 arguments.

arg(<arguments>, <index>)

  • <arguments> space-separated arguments list
  • <index> index of argument to return

Usage

  • opnane('a b c', 1) - returns '1'
  • opname('this is great or is it not', 2) - returns 'great'