public int getStringWidth(String str){int width = 0;for (int i = 0; i < str.length(); i++){width += getCharWidth(str.charAt(i));}return width;}

public int GetStringWidth(String str){int width = 0;for (int i = 0; i < str.Length; i++){width += GetCharWidth(str[i]);}return width;}
