String myString = "text"; //make a stirng int stringLength = myString.lenght(); //get lenght from string