English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-11-26 10:57:56 · 2 answers · asked by masterchief691 1 in Computers & Internet Programming & Design

2 answers

Calling the toCharArray() method on the String will return an array of characters. To get just one character in the string, call the charAt(int position) method.

2006-11-29 17:28:17 · answer #1 · answered by watsonc64 3 · 0 0

if the string is just one character then simply put String = char

2006-11-26 11:00:05 · answer #2 · answered by VzjrZ 5 · 0 0

fedest.com, questions and answers