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'
Is this doc helpful/not helpful? Is there any information you would like that is not available? Don't hesitate to get in touch with any question or feedback, either by email, on Discord or the forum.