Posted 2024-01-29Updated 2024-04-29算法 / 字符串18 minutes read (About 2641 words)字符串 字符串也就相当于一种字符数组,它在java中有许多的库函数比如: charAt(int index): Returns the character at the specified index in the string. 12String str = "Hello";char character = str.charAt(0); // Returns 'H' Read more