I am having this dataset:
title <- c("Make Professional Maps with QGIS and Inkscape | Udemy", "Inkscape desde cero. Crea gráficos vectoriales con Inkscape | Udemy",
"Logo Design in Inkscape - For Beginners & Beyond | Udemy", "Creating Seamless Tiles in Inkscape | Udemy",
"Learn Inkscape : Design Logos and Game Arts | Udemy", "Inkscape 101 for Beginners - Design Vector Graphics | Udemy",
"Design & Create Vector Graphics With Inkscape 2016 | Udemy",
"Inkscape - Beginner to Pro | Udemy", "Créer un logo avec Inkscape | Udemy",
"Inkscape: Sıfırdan başlayarak vektörel çizim öğrenin | Udemy",
"Creating 2D Textures in Inkscape | Udemy", "Inkscape fácil - Edición de gráficos vectoriales | Udemy",
"Inkscape - Criando artes gráficas livremente | Udemy", "【完全版】Inkscape(インクスケープ)でプロ級販促物を作成できる実践講座 | Udemy",
"Vector Art in Inkscape - Icon Design | Make Vector Graphics | Udemy",
"Aprenda a criar arte vetorial para jogos 2d com o Inkscape! | Udemy",
"Inkscape and Bootstrap 3 -> Responsive Web Design! | Udemy")
As you can see, it's a vector containing 17 titles, all of them ending in | Udemy
.
How can I remove | Udemy
(the vertical bar and the Udemy word)?
I tried with str_replace
and grep
with no success. Any idea?