RulePoint
- RulePoint 6.1
- All Products
substring(string, start index,[end index])
Argument
| Required
Optional
| Description
|
---|---|---|
string
| Required
| The string whose substring value you want to retrieve.
|
start index
| Required
| The starting index inclusive of the substring. If you do not specify the end index, the entire substring from the index specified will be retrieved.
|
end index
| Optional
| The end index exclusive of the substring. The substring retrieved will be within the range of the starting and the ending index.
|
when 1 substr s with substring(s.greetings,6) as result !=”” then response with body=”${result}”
Usage
| Description
| Result
|
---|---|---|
s.string1="Hello World"
| Returns the substring after the index 6.
| World
|