Skip to content

Files

Latest commit

author
abregman
Apr 9, 2022
90ece0d · Apr 9, 2022

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('/')