Logo

Programming-Idioms

History of Idiom 153 > diff from v3 to v4

Edit summary for version 4 by steenslag:
New Ruby implementation by user [steenslag]

Version 3

2016-10-27, 09:06:58

Version 4

2016-10-29, 21:26:42

Idiom #153 Concatenate string with integer

Create string t as the concatenation of string s and integer i.

Idiom #153 Concatenate string with integer

Create string t as the concatenation of string s and integer i.

Extra Keywords
int concat
Extra Keywords
int concat
Code
t = s + i.to_s