Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel

url = 'http://a/b/c/d/e'

afixurl = url[:url.rfind(''/')]

==> http://a/b/c/d


문자열 모두 교체

Panel

'he hello'.replace('h','')

=> 'e ello'