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

stringlastindexof

stringlastindexof

The stringlastindexof analytic returns the index within the string of the right-most occurrence of the specified substring.

Syntax

stringindexof(string1,substring)
The following table describes the required and optional arguments:
Argument
Required
Optional
Description
string1
Required
The first string.
substring
Required
The second substring from which you want to retrieve the occurrence of the first index value.
Example
when 1 greetings g with stringlastindexof(g.wish,”l”) as result = 9 then response with body =”$result}”
The following table describes the result for the event property value that you pass:
Usage
Description
Result
g.wish="hello world"
Returns the index of l on its last occurrence.
3

0 COMMENTS

We’d like to hear from you!