AI Zone Admin Forum Add your forum

NEWS: Chatbots.org survey on 3000 US and UK consumers shows it is time for chatbot integration in customer service!read more..

find substring from string
 
 

hi,
I want to find substring from string i tried to use ^findtext() but in some cases, if a substring is not found in the source it will generate a rule failure, is there any other system function like strpos() in php

 

 
  [ # 1 ]

Either wrap the ^findtext() with a ^nofail(RULE ... ) or use it within an if () test.

 

 
  login or register to react