Java: getting incorrect string.length() after using trim()

Posted by Jan on Stack Overflow See other posts from Stack Overflow or by Jan
Published on 2010-05-30T16:23:59Z Indexed on 2010/05/30 16:52 UTC
Read the original article Hit count: 174

Filed under:
|

for the string "22" i get a length of 3

i did use .trim()

what else could be a reason for this?

© Stack Overflow or respective owner

Related posts about java

Related posts about string