Splitting on composite separators

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

surdeus

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