user310291
user310291

Reputation: 38180

Is there any equivalent of parse line "," in Red?

In Rebol you could parse a line with

parse line ",.#;"

In Red, is there an equivalent ?

Upvotes: 1

Views: 86

Answers (2)

sqlab
sqlab

Reputation: 6436

The next to that is split, although just a mezzanine wrapper for parse with a special rule. You can use it with multiple delimiters like that

split line charset ",.#;"

Upvotes: 6

rebolek
rebolek

Reputation: 1301

Red moved this functionality to split, but I see that it doesn’t work with multiple delimiters as in your case. I will report it as bug.

UPDATE: See https://github.com/red/red/issues/3095

Upvotes: 2

Related Questions