Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
I'm having the following problem.
I need to search for a combination of letters (i.e. AB) in a string.
The following situations can occur in the string to be search in. Only the ones marked with a !! should be returned as correct
The logic should be:
search for a string, which is an exact match, knowing that the string to search in can be a single word, or a list of words separated by either a comma or a space (or a combination of both).
This is what we currently have... but this gives too many results
If((index(searchin, searchfor)=0), 'Yes', 'No')
Thanks!
Maarten
hi
try like this
=if(substringcount('String','a')<>'0' and substringcount('string','b')<>'0', 'Yes','No')
regards
A'run'
Hi A'run'
So if I get it right, you would do this for every character...
Knowing that this needs to be used on every row of a table, it is impossible to predict the number of characters. Correct me if I'm wrong ofcourse 🙂
Thanks for your help!
Regards,
Maarten