Function dahlia::clean

source ·
pub fn clean(string: String, marker: char) -> String
Expand description

Removes all Dahlia format codes from a string.

Example

let green_text = "&2>be me";
assert_eq!(clean(green_text), ">be me");