srt.remove {SRTtools}R Documentation

Remove dialog

Description

Remove unwanted dialog from subtitles by specific index

Usage

srt.remove(srt, index)

Arguments

srt

vector. The srt file read by srt.read.

index

integer. The index of unwanted dialog .

See Also

srt.read

Examples

srt_path <- system.file("extdata", "movie.srt", package="SRTtools")
srt <- srt.read(srt_path, encoding = 'utf-8')
srt.remove(srt, index = 10)


[Package SRTtools version 1.2.0 Index]