As far as I was concerned about lstrip and rstrip functionality back in 2016-2018, such method was stripping starting from left or right (respectively) the matching pattern into a string, until such ...