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;


댓글

이 블로그의 인기 게시물

spring boot as a windows service

Spring framework 3 xml files to java files

AOP 트랜잭션