String Slice : String : Python examples (example source code) Organized by topic
Java
Java Articles
Java Products
Java by API
C# / C Sharp
ASP.Net
JavaScript DHTML
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C++
PHP
Python
SQL / MySQL
VB.Net
Python Home »
String
»
[ String Slice ]
Screenshots
1.
String slicing: extrace section
2.
String Slice
3.
Strings can be subscripted (indexed)
4.
An invariant of slice operations: s[:i] + s[i:] equals s
5.
Degenerate slice indices
6.
Negative Indices numbers: start counting from the right
Home
|
Contact Us
Copyright 2003 - 04 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.