[−][src]Function properties::try_split
pub fn try_split<'a>(
line: &'a str,
separator: Option<char>,
comment: Option<&'a str>
) -> Option<Property<'a>>
Attempt to parse a line, returns None if the following are true:
- line is empty
- comment is not None and line begins with comment
- separator is not None and line contains more than one separator