1 2 3 4 5 6 7 8
fn main(args: ~[str]) { let thing = "{{ f }}"; let f = str::find_str(thing, "{{"); if f.is_none() { io::println("None!"); } }