/
String:gsub()
String:gsub()
The gsub method on a string uses Lua Pattern Matching to perform a find and replace operation.
It takes three arguments:
The pattern to be matched
Replacement string or function or table (ie. the pattern key)
Optional: The maximum number of matches to replace
gsub returns a copy of all occurrences of the pattern that have been replaced and the total number of matches that occurred.
Here are few examples for the different types of replacements:
, multiple selections available,
Related content
How the Pipedrive adapter works
How the Pipedrive adapter works
Read with this
String:find()
String:find()
More like this
SLACK Library
SLACK Library
Read with this
String:match()
String:match()
More like this
Pipedrive Adapter
Pipedrive Adapter
Read with this
Pattern Matching
Pattern Matching
More like this