Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 170 Bytes

removing_characters.md

File metadata and controls

8 lines (5 loc) · 170 Bytes

Removing Characters

  1. How to remove a trailing slash ('/') from a string?
  2. How to remove the first character from a string?

Solution

  1. string.rstrip('/')