develooper Front page | perl.perl6.users | Postings from November 2019

words and separators question

Thread Next
ToddAndMargo via perl6-users
November 28, 2019 13:52
words and separators question
Message ID:
Hi All,

I have a situation where I can see two different strings:

     "xxx      yyyy       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 I can tell words that I want "fg hi" to
be considered one word?  A way to make the separator
two or more spaces?

Many thanks,

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About