HP-UX AAA Server A.08.01 administrator's guide (T1428-90072, May 2010)

Table Of Contents
Parameters
Following are the parameters for the after keyword:
<attr-spec>: The <attr-spec> parameter is an attribute specification. For more
information on specifying attributes, see Attribute Specifications” (page 422).
<after-string>: Must be a quoted string constant.
Operation
Returns the requested substring with same type as the source.
If <after> is specified, the substring starts after the first occurrence of <after-string>.
If <after-last> is specified, the substring starts after the last occurrence of <after-string>.
If <after-string> is not found, the empty string is returned.
Example 27-5 Examples Illustrating the Use of the after Keyword
If Reply-Message = "a string of characters", then:
Example 1
substr ( Reply-Message after " of" )
returns the following string:
characters
Example 2
substr ( Reply-Message after last " " )
returns the following string:
characters
Example 3
substr ( Reply-Message after "not-there" )
returns an empty string.
NOTE: If <attr-spec> refers to an instance that is not present, then a no-such-instance
run-time error is generated.
The tolower Attribute Function
Syntax
tolower (<attr-spec>)
Defining a Policy in a Decision File 429