Urgent: Substring

Hello, i had new issue

i had a text:

"
_ 21/03/2019 FRINFOM INFORMATIQUE CFA
Conformité

Analyse
DO LIGNE RPA
REJET RPA VOIR TRACKING

A _
"

i want to verify that there is a text after “DO LIGNE RPA”

Hi @abdel,
Two ways to do that

  1. Store the text in a txt file and loop through the lines. Check whether the line after the text

is null or String.empty…

  1. Store the entire text in a string type variable removing all the spaces and split it with the text as

      newText = str.split("DO LIGNE RPA").Last
    

Check whether newText is null or not

  1. Store the test in a string variable strText
  2. if else activity use the following statement ‘strText.indexof(“DO LIGNE RPA”) > 0’ if true the values Exists if less than zero then value not exist