Jump to content

Recommended Posts

Posted

Hi guys, I need some help!
Is there any function in Rulex that gives the index of the position of a certain “substring” looking on another “string”?
I found the find function, but it just gives a True/False result about the presence of the substring.


Thank you in advance!

Posted

Hi Andrew!
The function that you are looking for is exactly the find one, but you must set the charpos parameter to a value different respect to the default of 0:

spacer.png

Otherwise it will give you only the True/False result.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...