Hi @FMEZipster, you can use the TextEncoder (Encoding Type: HEX) to translate every character within a string to ASCII code with hexadecimal representation.
If you need to convert the result to decimal representation and/or comma-separated format, need some additional transformers or other approach. What representation do you need finally? e.g. ABC -> ??
This is a possible way - split the string into individual characters, extract their ASCII code (CharacterCodeExtractor), then concatenate them (Aggregator).
... scripting might be easier in this case.
PythonCaller script example:
defextractAsciiCode(feature):
codes = [str(ord(c)) for c in feature.getAttribute('_src')]
feature.setAttribute('_codes', ''.join(codes))
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.