Open ad-si opened 1 year ago
String.Extra.rightOf "_" "abc_\ndef" should return "\ndef", but returns ""
String.Extra.rightOf "_" "abc_\ndef"
"\ndef"
""
Here is an example on Ellie:
https://ellie-app.com/kr7KLBVx8xQa1
Same for leftOf: String.Extra.leftOf "_" "abc\n_def" returns ""
leftOf
String.Extra.leftOf "_" "abc\n_def"
String.Extra.rightOf "_" "abc_\ndef"
should return"\ndef"
, but returns""
Here is an example on Ellie:
https://ellie-app.com/kr7KLBVx8xQa1