Hello everyone, is there any way how to generate next letter of alphabet? E.g I have feature with value "A" and I wanna generate next letter in alphabet, so letter "B". Is there any function for that?
Thanks a lot!
Lubo
Hello everyone, is there any way how to generate next letter of alphabet? E.g I have feature with value "A" and I wanna generate next letter in alphabet, so letter "B". Is there any function for that?
Thanks a lot!
Lubo
Best answer by david_r
You can use the CharacterCodeExtractor to convert the letter to an integer value, increment the value with an ExpressionEvaluator, then convert it back to a letter using the CharacterCodeReplacer.
For reference, you're incrementing over the Unicode symbols, see https://symbl.cc/en/unicode/table/
The value below each symbol in hexadecimal, e.g. "A" = 41 hex = 65 decimal
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.