Skip to content

Instantly share code, notes, and snippets.

@azizshamim
Created April 24, 2012 21:13
Show Gist options
  • Save azizshamim/2483872 to your computer and use it in GitHub Desktop.
Save azizshamim/2483872 to your computer and use it in GitHub Desktop.
>> f = "substitute a wrd in the middle of the string"
=> "substitute a wrd in the middle of the string"
>> f['wrd'] = "word"
=> "word"
>> f
=> "substitute a word in the middle of the string"
>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment