cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

How to find the length of the string

MK_9986318
5-Regular Member

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.

ACCEPTED SOLUTION

Accepted Solutions

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;

 

View solution in original post

1 REPLY 1

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;

 

Announcements


Top Tags