You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use bstr::ByteSlice;fnmain(){let my_str = b"Hello ";letmut iter = my_str.split_str(b" ");assert_eq!(iter.next(),Some(b"Hello".as_ref()));assert_eq!(iter.next(),None);}
Each element yielded is guaranteed not to include the splitter substring.
The text was updated successfully, but these errors were encountered: