countUntil with negated pre-defined predicate?
Robert M. Münch
robert.muench at saphirion.com
Sat May 2 18:23:30 UTC 2020
This works:
countUntil!(std.uni.isWhite)("hello world"))
How can I switch this to (not working);
countUntil!(!std.uni.isWhite)("hello world"))
without having to write my own predicate?
Or is there an even better way to search for all "drawable unicode characters"?
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
More information about the Digitalmars-d-learn
mailing list