What is the correct spelling for XGSUB?

If you meant to type "xgsub" but it appears to be a misspelling, it can be corrected to "gsub". Gsub is a function in programming languages such as Ruby that stands for "global substitution". It replaces all occurrences of a given pattern with another value in a given string.

Correct spellings for XGSUB

  • grub I need to go to the grocery store and pick up some grub for dinner tonight.
  • sub Can you please sub in for me at work tomorrow?