I have been wanting this function in Swift. I had a need for it awhile back but came up with a workaround. I can't exactly remember what the need was for though. <br><br>----- Reply message -----<br>From: "Mihael Hategan" <hategan@mcs.anl.gov><br>Date: Mon, Aug 8, 2011 9:52 pm<br>Subject: [Swift-devel] int to string<br>To: "Ketan Maheshwari" <ketancmaheshwari@gmail.com><br>Cc: "Swift Devel" <swift-devel@ci.uchicago.edu><br><br><br>On Mon, 2011-08-08 at 21:44 -0500, Ketan Maheshwari wrote:<br>> Hello,<br>> <br>> <br>> I was wondering if we can convert an int to string in Swift. I think<br>> @tostr method doesn't exist.<br><br>Strcat will do implicit conversion of its arguments to string. So<br>@strcat(2) should work.<br><br>Though we should have @tostr.<br><br><br><br>_______________________________________________<br>Swift-devel mailing list<br>Swift-devel@ci.uchicago.edu<br><a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br><br><br>