Skip to Main Content
HCL Domino Ideas Portal

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Status Under Consideration
Workspace Domino Designer
Categories LotusScript
Created by Guest
Created on Jun 3, 2020

Add InStrBack function to LotusScript

The function continues the series: StrLeftBack, StrRightBack.

It should work like InStr, but starting from the end and moving to the beginning.

This function is really not enough when working with large amounts of data.

N.B.: Must also be considered: https://domino-ideas.hcltechsw.com/ideas/IDEAAD-I-139

In his book "The [unfinished] LotusScript Book", Julian Robichaux showed examples for faster algorithms.

In any case, the code for this function has already been written and is used in StrLeftBack, StrRightBack. To make it a separate function is quick and easy.

  • Attach files
  • Guest
    Reply
    |
    Oct 9, 2020

    Also impment StrMiddle, StrMiddleBack like
    @Middle( string ; startString ; endstring )
    @MiddleBack(
    string ; startString ; endstring )