Table of Contents

Search

  1. Preface
  2. RulePoint
  3. RulePoint Concepts
  4. Using RulePoint
  5. RulePoint Objects
  6. Working with Topics
  7. Working with Connections
  8. Working with Sources
  9. Working with Responders
  10. Working with Responses
  11. Working with Watchlists
  12. Working with Analytics
  13. DRQL
  14. Working with Rules
  15. Working with Alerts
  16. Setting Access Controls
  17. Troubleshooting RulePoint Issues
  18. Connecting to an Ultra Messaging Application
  19. Creating an Ultra Messaging JMS Source

User Guide

User Guide

substring

substring

The substring analytic returns substring of the string based on the index provided.

Syntax

substring(string, start index,[end index])
The following table describes the required and optional arguments:
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.
Example
when 1 substr s with substring(s.greetings,6) as result !=”” then response with body=”${result}”
The following table describes the result for the event property value that you pass:
Usage
Description
Result
s.string1="Hello World"
Returns the substring after the index 6.
World

0 COMMENTS

We’d like to hear from you!