Skip to main content
Aug 2, 2021 2:19 PM UTC
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.

Aug 2, 2021 2:49 PM UTC

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

Aug 2, 2021 2:49 PM UTC

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;