|
|
Created by Edmond Pruteanu
over 11 years ago
|
|
| Question | Answer |
| Return string containing integer times str | str * integer |
| Concatenate object to str | str << obj |
| Compare two strings | str <=> other_str |
| Capitalize string | str.capitalize |
| Remove last character in a string | str.chop |
| Insert other string before character at given index | str.insert(index, other_str) |
| Replace contents of str with corresponding values in another str | str.replace(other_str) |
Want to create your own Flashcards for free with GoConqr? Learn more.