【发布时间】:2017-02-04 16:52:32
【问题描述】:
我有一个名为List 的字符串变量。我想获取List 中的字符串的第一个字符。
问题是,我不能在List 上使用charAt() 函数。
到目前为止,这是我的努力:
List<String> testList = new ArrayList<>();
testList.get(3).chatAt(0);
【问题讨论】:
-
首先说明您正在使用的编程语言和tag 问题可能会有所帮助。