1
2
3
4
5
pub fn strlen(x : String) {

    println!("{}",x.len());

}