Get a listing of all unique characters present in a text file
so you mean if the file contains the following text:
you want to list the following characters:
That’s partly true
KNIME_project57.knwf (9.4 KB)
how large is your file?
Else you might be able to do it the following way:
->Read the file to KNIME
->Use a Java Snippet with Array of String Output column
yourOutpoutColumn = yourTextcolumn.split("");
Then finally use ungroup and group to make them distinct
Maybe that will help for small files
this is modified for big files
Get a listing of all unique characters present in a text file.knwf (13.7 KB)
Great - thought about how to reduce the string amount
Nice solution, thanks for sharing!
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.