33467389|t|Immune Therapies for Hematologic Malignancies.
33467389|a|The era of immunotherapy for hematologic malignancies began with the first allogeneic hematopoietic stem cell transplant (HSCT) study published by E [...].
33477248|t|Unraveling the Role of Innate Lymphoid Cells in AcuteMyeloid Leukemia.
33477248|a|Over the past 50 years, few therapeutic advances have been made in treating.
This is my recurring pattern in my file.
ID which is a number for example 33467389
and the |t|
which is the title of the paper. Similarly 33467389|a|
this denotes the abstract ID of the paper.
lines <- readLines("output_1/Gemtuzumab_Adult/G1.txt")
So im reading the file like this
So this pattern throughout my text. Is there any way to split this into columns as such
ID Abstract
33467389 The era of immunotherapy for hematologic malignancies