Splitting on composite separators

⚓ Rust    📅 2026-02-17    👤 surdeus    👁️ 10      

surdeus

Warning

This post was published 47 days ago. The information described in this article may have changed.

Apologies for asking a question to which the answer might be buried in the reference documents. It's just that the answer is sometimes hard to find...

I want to split a string slice on separators that consist of any number of spaces and line feeds. How to do?

3 posts - 2 participants

Read full topic

🏷️ Rust_feed