rust length of string in foramt code example Example: get length of string rust my_string.chars().count()