[−][src]Function pir_8_emu::util::remove_comment
pub fn remove_comment(comment_char: char, from: &str) -> &str
Strip off all data starting with the specified character, if exists
Examples
assert_eq!(remove_comment(';', "UwU ; OwO"), "UwU "); assert_eq!(remove_comment(';', "yeehaw"), "yeehaw");