Deletes a pattern from the start of a string, or each of a vector of strings.
Source:R/utils.R
delete_start_with.Rd
delete_start_with
is used for clean the column names in raw data.
For example, R adds "X" at the start of variable names. This function deletes
"X_"s from the column names. This can happen if the raw data have column
names such as "_CASE_ABX
". Check clean_perch_data()
for
its actual usage.