Python finding string and substring
print groupsName[gNum][groupsName[gNum].index("- ")+2:];
String s = abcde;
find index of "b";
s.index("b")
return 1;
python substring
s[:2] = abc;
s[3:] = de;
String s = abcde;
find index of "b";
s.index("b")
return 1;
python substring
s[:2] = abc;
s[3:] = de;
댓글
댓글 쓰기