Misc

What is the difference between someMultiLineString: | to someMultiLineString: >?

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

using > will make the multi-line string to fold into a single line

someMultiLineString: >
  This is actually
  a single line
  do not let appearances fool you