// Rust 0.9 use std::ascii::StrAsciiExt; "alphaBeta".to_ascii_upper(); "alphaBeta".to_ascii_lower();