powered by
Remove unwanted dialog from subtitles by specific index
srt.remove(srt, index)
vector. The srt file read by srt.read.
srt.read
integer. The index of unwanted dialog .
# NOT RUN { srt_path <- system.file("extdata", "movie.srt", package="SRTtools") srt <- srt.read(srt_path, encoding = 'utf-8') srt.remove(srt, index = 10) # }
Run the code above in your browser using DataLab