Hi!

I try to find "Qgis way" to achieve the same as those arcmap field's calculator command: SPLIT( [FieldName],",")(0) - in that case "," is a separator, so from a string 'dog,cat,spider' I will get 'dog' - as it is the first element, counted as "zero" - 'cat' is number 1, 'spider' number 2 etc. So:

SPLIT( [FieldName],",")(1)     ->     'cat'
SPLIT( [FieldName],",")(2)     ->     'spider'

Thanks for any response

_______________________________________________
Qgis-user mailing list
[email protected]
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to