split string form url last slash

Solutions on MaxInterview for split string form url last slash by the best coders in the world

showing results for - "split string form url last slash"
Josefina
25 Aug 2018
1url = 'http://www.test.com/TEST1'
2l = url.split('/', -1)[-1]