11

Simple string replace. If javascript, string split()[0]

Simple string replace. If javascript, string split()[0]

8 comments

[–] pembo210 1 points (+1|-0) Edited

It's something in the way that the BeautifulSoup title plugin works. It put's it there automatically. I'll see if I can figure something out. It annoys me too.

edit: title.rsplit('-', 1) ...