Re: words and separators question

2019-11-29 Thread ToddAndMargo via perl6-users
On 2019-11-28 05:51, ToddAndMargo via perl6-users wrote: Hi All, I have a situation where I can see two different strings:     "xxx     zzz"     "avcde    fg hi  jklmx" "fg hi" only has one space in the middle. All the words have multiple spaces between them. Is there a way

Re: words and separators question

2019-11-28 Thread ToddAndMargo via perl6-users
On 2019-11-28 06:47, The Sidhekin wrote: On Thu, Nov 28, 2019 at 2:53 PM ToddAndMargo via perl6-users mailto:perl6-us...@perl.org>> wrote: Is there a way I can tell words that I want "fg hi" to be considered one word?  A way to make the separator two or more spaces?   I don't

Re: words and separators question

2019-11-28 Thread ToddAndMargo via perl6-users
On 2019-11-28 05:51, ToddAndMargo via perl6-users wrote: Hi All, I have a situation where I can see two different strings:     "xxx     zzz"     "avcde    fg hi  jklmx" "fg hi" only has one space in the middle. All the words have multiple spaces between them. Is there a way

Re: words and separators question

2019-11-28 Thread The Sidhekin
On Thu, Nov 28, 2019 at 2:53 PM ToddAndMargo via perl6-users < perl6-us...@perl.org> wrote: > Is there a way I can tell words that I want "fg hi" to > be considered one word? A way to make the separator > two or more spaces? > I don't think you can pass a separator to words. But you can spec

words and separators question

2019-11-28 Thread ToddAndMargo via perl6-users
Hi All, I have a situation where I can see two different strings: "xxx zzz" "avcdefg hi jklmx" "fg hi" only has one space in the middle. All the words have multiple spaces between them. Is there a way I can tell words that I want "fg hi" to be considered one w