Bookmark Topic Watch Topic
  • New Topic

Why is "String".trim() not equal to " String ".trim()

 
mvPrasad Regula
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Report post to moderator
For the following code Equal is printed



For the following code not equal is printed

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65129
92
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Having ignored multiple warnings regarding your display name, your account has been closed.
 
    Bookmark Topic Watch Topic
  • New Topic