manipulating-strings/script.rst
changeset 455 f5b7d0b693d9
parent 454 0c69c2b32183
child 456 be96dc6c9743
equal deleted inserted replaced
454:0c69c2b32183 455:f5b7d0b693d9
    89 
    89 
    90 ::
    90 ::
    91 
    91 
    92     s[1:-1]
    92     s[1:-1]
    93 
    93 
    94 gives a substring of s, without the first and the last
    94 gives the substring of s, without the first and the last
    95 characters of s. 
    95 characters of s. 
    96 
    96 
    97 ::
    97 ::
    98 
    98 
    99     s = saturday
    99     s = saturday