stringSubString Function Description
Description
stringSubString takes in 3 parameters: a string s and 2 numbers start and end. The result is the substring that starts at index start and ends before index end. The first character of the string has position zero. The negative integer value -1 given for the third arguments indicates the end of the string. If the second or third arguments are out of bounds, then the function evaluates to Indeterminate with a status code of urn:oasis:names:tc:xacml:1.0:status:processing-error.
stringSubString belongs to the ALFA function reference's
String functions category. It maps to the XACML function identifier
urn:oasis:names:tc:xacml:3.0:function:string-substring and returns a value of type string.
| Property | Value |
|---|---|
| Category | String functions |
| # Arguments | |
| Arguments |
|
| Return Value | string |
| Expressed As | pre-fix |
| Representation | ALFA short name |
| Allowed In Target | false |
| ALFA Shorthand | |
| Commutative | false |
Example
See Also
Related Functions
Other functions in the String functions category: