R/cleanWdLogField.R

cleanWdLogField <-
    function                          # ^ remove any whitespace or tab
(
    x                        # ^ character: a field of day-record-file
)
{
    gsub(
        "\t+", "", gsub("\\s+", "", x))
}                                      # ^ returns a cleaned character
michelk/logbuch.R documentation built on May 22, 2019, 9:55 p.m.