Skip to main content
Close announcements banner

Deleting blank characters

The FTRIM routine is easy to use, along with a tJava component, to delete blank characters from the start of a string:

System.out.println(StringHandling.FTRIM("  Hello world  !"));

The routine returns the string with the blank characters removed from the beginning.

The result is "Hello world !" 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 – let us know how we can improve!