Skip to content

Instantly share code, notes, and snippets.

@AD7six
Created March 16, 2011 09:53
Show Gist options
  • Save AD7six/872251 to your computer and use it in GitHub Desktop.
Save AD7six/872251 to your computer and use it in GitHub Desktop.
an example taken directly from vim help
:let len = strlen(substitute(str, ".", "x", "g"))
:let foo = "a string"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment