Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

souadouert
Contributor III

string function

hello,

want to check the existence of a string in another string, I used findof doent work

1 Solution

Accepted Solutions
vkish16161
Contributor III

Re: string function

Use wildmatch

for e.g. wildmatch('Dummy','*Dummy123*') returns 1

5 Replies
vkish16161
Contributor III

Re: string function

Use wildmatch

for e.g. wildmatch('Dummy','*Dummy123*') returns 1

Re: string function

Actually "wildmatch('Dummy','*Dummy123*')" returns 0.

I guess you meant "wildmatch('Dummy123','*Dummy*')"

regards

Marco

Re: string function

Hi,

you could also use the Index() function

hope this helps

regards

Marco

souadouert
Contributor III

Re: string function

yes i used Index thank y

Re: string function

you're welcome

regards

Marco