How to calculate the length of a string - 6.4

Talend Open Studio for Big Data User Guide

EnrichVersion
6.4
EnrichProdName
Talend Open Studio for Big Data
task
Design and Development
EnrichPlatform
Talend Studio

The LEN routine is easy to use, along with a tJava component, to check the length of a string:

System.out.println(StringHandling.LEN("hello world!"));

The check returns a whole number which indicates the length of the chain, including spaces and blank characters.