need to check for the exact value using index

Hi,

i need to check for the exact value using index how can i achieve it.?


Hello


You question is extremely vague can you more specific in what do you need?

Do you have a list and need to to chage the isselect value of a specific index to true?


BR

Carlos Gonçalves wrote:

Hello


You question is extremely vague can you more specific in what do you need?

Do you have a list and need to to chage the isselect value of a specific index to true?


BR

yes, I have something like this,

SyntaxEditor Code Snippet

Index("#bt917444#bt91#", "#"+"bt91"+"#" ) <> -1

here i need to search exact bt917444 

now what is happening if we search for bt917444 it is returning bt91,bt917444  as well,

Ronan T wrote:

Carlos Gonçalves wrote:

Hello


You question is extremely vague can you more specific in what do you need?

Do you have a list and need to to chage the isselect value of a specific index to true?


BR

yes, I have something like this,

SyntaxEditor Code Snippet

Index("#bt917444#bt91#", "#"+"bt91"+"#" ) <> -1

here i need to search exact bt917444 

now what is happening if we search for bt917444 it is returning bt91,bt917444  as well,

Since you are adding the "#"before and after the expression how is #bt91# in #bt91744#?

Are you sure you are using limiters or only the value


eg

index ("#bt917444#bt91#",bt91) -> both values

but

index("#bt917444#bt91#",#bt91#) should only return the latter one


Carlos Gonçalves wrote:

Ronan T wrote:

Carlos Gonçalves wrote:

Hello


You question is extremely vague can you more specific in what do you need?

Do you have a list and need to to chage the isselect value of a specific index to true?


BR

yes, I have something like this,

SyntaxEditor Code Snippet

Index("#bt917444#bt91#", "#"+"bt91"+"#" ) <> -1

here i need to search exact bt917444 

now what is happening if we search for bt917444 it is returning bt91,bt917444  as well,

Since you are adding the "#"before and after the expression how is #bt91# in #bt91744#?

Are you sure you are using limiters or only the value


eg

index ("#bt917444#bt91#",bt91) -> both values

but

index("#bt917444#bt91#",#bt91#) should only return the latter one


hi,

is there any idea how can I pass more than one values with hash separated for filter?



Ronan T wrote:


hi,

is there any idea how can I pass more than one values with hash separated for filter?



build the hash separated string with concatenations and then use it in filter.

I am not sure if that is waht you mean.


Hi Ronan,

If you want to search for patterns, you can better use the Regex_Search Action from the Text Extension.