Skip to main content
1-Visitor
Solved

How to find the length of the string

Is it possible to find the length of the string.

If it is possible let me know how.

17-Peridot

Is this what you're looking for?

 

 

stringLen = InputString.length;
string2 = "Second";
stringLen2 = string2.length;
logger.warn("String1 / String2 length is " + stringLen + " / " + stringLen2);
result = stringLen + " / " + stringLen2;

 

1 reply

17-Peridot

Is this what you're looking for?

 

 

stringLen = InputString.length;
string2 = "Second";
stringLen2 = string2.length;
logger.warn("String1 / String2 length is " + stringLen + " / " + stringLen2);
result = stringLen + " / " + stringLen2;

 

Translate