Doc > Expressions > opdigits

Doc > Expressions > opdigits

Returns the number at the end of a string

Description

It takes 1 arguments.

opdigits(<word>)

  • <word> returns the number at the end of word

Usage

  • opdigits('/geo1') - returns 1
  • opdigits($OS) - returns the number at the end of the name of the current node