Skip to main content

Storing a string in alphabetical order

It is easy to use the ALPHA routine along with a tJava component, to check whether a string is in alphabetical order:

System.out.println(StringHandling.ALPHA("abcdefg"));

The check returns a boolean value.

The result is "true" in the Run view.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – please let us know!