Andrea Giudiceandrea wrote > array_length( > array_distinct( > string_to_array( > substr(regexp_replace( "pippo",'(.)',',\\1'),2))))
ciao, si puo' evitare anche l'uso della funzione substr: array_length( array_distinct( string_to_array( regexp_replace( "field",'(.)\\B','\\1,')))) w regex https://regex101.com/r/XkpsXl/1/ ----- https://pigrecoinfinito.wordpress.com/ -- Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html _______________________________________________ QGIS-it-user mailing list QGIS-it-user@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/qgis-it-user