string.gsub
From GMod Wiki
| Function | |
| Syntax | 
		string.gsub( String  base, String  to replace (pattern), String  replacement ) Where is this used?  | 
	
| Description: | |
| Replaces old text with new specified text | |
| Returns: | String , Number Number of times found | 
| Part of Library: | String | 
| Realm: | 
		 | 
	
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=String.gsub]String.gsub [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Examples