line_clean.Rd
Remove the lines start with # or without any information.
line_clean(lines = NULL, file = NULL)
a vector of character strings. The strings are containing the lines of template file. If the file parameter is NULL, this parameter should be set.
a character specifying the template file path. If this parameter is setted, the lines parameter will be replaced.
a vector of character strings
strs <- c("#comment","DATA")
line_clean(lines=strs)
#> [1] "DATA"