Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 289 Bytes

String Operators.md

File metadata and controls

9 lines (6 loc) · 289 Bytes

String Concatenation

If we use + on strings, we concatenate them, just like in Python

Logical operator

To compare if a string is equal to another string: OneString.equals(AnotherString)

  • Objects should be compared using methods instead, as it is a more consistent approach