#dominoforever | Product 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

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.

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jun 3 2020
  • Needs review
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    9 Oct, 2020 07:07am

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