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

Example 15 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>)
Parameters
<attr-spec>: The <attr-spec> parameter is an attribute specification. For more
information on specifying attributes, see Attribute Specifications” (page 308).
Operation
Returns the string value converted to lowercase with same type as the source. If <attr-spec>
refers to an instance that is not present, then a no-such-instance run-time error is generated.
The toupper Attribute Function
Syntax
toupper (<attr-spec>)
Parameters
<attr-spec>: The <attr-spec> parameter is an attribute specification. For more
information on specifying attributes, see Attribute Specifications” (page 308).
Operation
Returns the string value converted to uppercase with same type as the source. If <attr-spec>
refers to an instance that is not present, then a no-such-instance run-time error is generated.
Value Types
You can specify the following value types for attributes:
Integer Values: Integer values can be specified as decimal integers, including a leading '-'
sign. They can also be specified as hexadecimal integers prefixed with 0x, in which case they
are treated as unsigned. A tag can also be specified by prefixing the :tag: syntax to the value.
The tag value must be in the range of 0 to 31.
Defining a Policy in a Decision File 315