String slice issue?
Posted: Sun May 24, 2009 9:43 pm
String slice issue?
can not String slice 'step'.
and
can not omit 'stop'.
can not String slice 'step'.
s = "ThisIsTestString"
print s[0:10:2]
and
print s[0::2]
can not omit 'stop'.