The last word NY
from Anke Block code dosn't work, i view only Y
and no NY
.
For this it works the dora_paz Block
Thanks!
Show your blocks.
Do all three in one go:
It would be much easier if you sorted out your original data in the first place so that you had a well formatted csv file:
New York,USA,NY
Miami,USA,FL
Richmond,USA,VA
You can segregate using a List like this @kopernikus :
You can uses spaces to separate if no 'items' are composed of two 'words' ... New York > New_York
Hello again
I noticed the following problem. I can not display only the word York
I applied the above but it does not work
The result is city York
and no only York
There is no want. York was a bad example. Better to isolate the word usa
without typing in segment "city New York country" because instead of New York he can write another city. The fixed words that do not change are city , country id.
I've already shown you a way to do it:
Then show us a good example, next time.
For example I have the following list.
city New York country Usa id NY city Athens country Greece id ATH city Rome country Italy id ROM
From the list the fixed words are city,country,id
Depending on what will be selected from the list, I want to isolate only the country, that is USA,Greece,Italy.
Why do you want to keep using this format. It makes things much to complicated. Why not use a CSV format?
city,country,id
New York,USA,NY
or use JSON
[
{
"city": "New York",
"country": "Usa",
"id": "NY"
}
]
Thank you very much.
The easiest, because I do not want the whole list but only his selection for example only from
city New York country Usa id NY
I want the view only country USA
The result is USA is what I wanted !!


Thanks an all

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.