Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
We have two sample sets of data (string format). One of them is rather normal, second has got "*" character in string in some rows. When we use set analysis to select rows which begins with letter A from first dataset we use:
{<Nazwa={"A*"}>} Nazwa (we get all rows for field "Nazwa" that begins with letter A
In second dataset I use exactly same set analysis expression but when I have datarow with "*" character it gives another result. And that is correct probably but is there any way to search with that method over this kind of dataset?
Without changing "*" in source strings to another symbol?
Example in attachement - that should be clear.
You can use FindOneOf(Nazwa,'*')
It will return a positive value for the first position it finds. This may be a more versatile method incorporated into your dataset manipulation.
use replace function to create a new field in your reload script where you replace * with some other char
Search for the ascii code for * (42)
Search for 'A' & chr(42)
You can use FindOneOf(Nazwa,'*')
It will return a positive value for the first position it finds. This may be a more versatile method incorporated into your dataset manipulation.
Hi, thanks!
I found also alternative for that in thread:
posted by Rob: "=index(Nazwa,'*')>0"