我想写一些代码,告诉我如果一个字符串的第一个字母等于另一个字符串的第一个字母。我无法弄清楚如何将字符串与charAt()的返回值进行比较。帮帮我? public class CharAtTest
{
public static void main(String [] args)
{
String name = "joe";
String
python新增功能(应注意)。在我身上轻松一下。 我写了下面的隔离文件 for line in open('120301.KAP'):
rec = line.strip()
if rec.startswith('PLY'):
print line
的输出表现为这样 PLY/1,48.107478621032,-69.733975000000
PLY/2,4