Expressions you’d probably never type


… and yet they give the expected result. I just tried this one, assuming it’s probably worth a try, but it will most likely not work:

String with: Character cr with: Character lf.

Not that this is interesting or such. I was just surprised you can use with:with: to create Strings. Go back to work, nothing else to see here 😉

2 Comments

  1. Or even shorter:

    String crlf.

    🙂

    1. Joachim says:

      you know, I know String class>>#crlf, but the expressen Character cr was already there in the editor, so I didn’t want to delete it ;-)))

Comments are closed.