Name

size — Returns the number of path elements

Synopsis

integer size ( path PATH );
 

Parameters

path PATH

Return

integer

Number of elements in the path

Description

Returns the number of path elements of the path PATH, i.e. the length of PATH.

Usage

  size (.hello.world) -> 2
 

  size (.) -> 0