The GSUB is a function in R is used to replace all matches of a string. If the parameter is a string vector, it returns a string vector with the same length and attributes.

BY Best Interview Question ON 14 Jul 2020