HP-UX AAA Server A.08.00.01 Administrator's Guide

The offset Keyword
Syntax
substr (<attr-spec> offset <start>)
substr (<attr-spec> offset <start> length <number>)
Parameters
Following are the parameters for the offset keyword:
<attr-spec>: The <attr-spec> parameter is an attribute specification. For more
information on specifying attributes, see Attribute Specifications” (page 415).
<start>: Specifies the offset from the beginning of the string to the first character
of the desired substring. It must be a non-negative integer constant.
<number>: The optional length of the desired substring. It must be a non-negative
integer constant.
NOTE: If length <number> is not present then the length defaults to the
remainder of the string.
Operation
Returns the requested substring with same type as the source. If the offset is off the
end of the string, then substr returns an empty string.
Defining a Policy in a Decision File 419