RosettaCodeData/Task/Strip-comments-from-a-string/Red/strip-comments-from-a-string-1.red
2023-07-01 13:44:08 -04:00

4 lines
111 B
Text

>> parse s: "apples, pears ; and bananas" [to [any space ";"] remove thru end]
== true
>> s
== "apples, pears"