how to convert string "12:36" to time " 12:36"......12 minutes and 36 seconds
library(stringr)
the_time <- "12:36"
colon <- "[:]"
paste(str_replace(the_time,colon," hours and "),"minutes")
#> [1] "12 hours and 36 minutes"
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.