pub fn take_until(&mut self, end : char) -> Option<String> {
        if self.iter.clone().find(|&x| x == end).is_none() {
            return None;
        }
        Some( self.iter.by_ref().take_while(|&x| x != end).collect::<String>() )
    }
/// returns some string from current stream position till the occurence of `end`
/// if end char (utf8) can't be found returns None
/// `end` char not returned and consumed
returns some string from current stream position till the occurence of `end`
if end char (utf8) can't be found returns None
`end` char not returned and consumed
returns some string from current stream position till the occurence of ` end ` if end char ( utf8 ) can ' t be found returns None ` end ` char not returned and consumed
pub fn take_until(&mut self, end : char) -> Option<String> {
        if self.iter.clone().find(|&x| x == end).is_none() {
            return None;
        }
        Some( self.iter.by_ref().take_while(|&x| x != end).collect::<String>() )
    }
pub fn take_until ( & mut self , end : char ) -> Option < String > { if self . iter . clone ( ) . find ( | & x | x == end ) . is_none ( ) { return None ; } Some ( self . iter . by_ref ( ) . take_while ( | & x | x != end ) . collect :: < String > ( ) ) }
returns some string from current stream position till the occurence of `end`
if end char (utf8) can't be found returns None
`end` char not returned and consumed
returns some string from current stream position till the occurence of ` end ` if end char ( utf8 ) can ' t be found returns None ` end ` char not returned and consumed
&mut self
end
char
&mut self
end
char