[Swift-user] @tostring?

Andriy Fedorov fedorov at bwh.harvard.edu
Sat Mar 27 16:38:11 CDT 2010


On Sat, Mar 27, 2010 at 17:34, Michael Wilde <wilde at mcs.anl.gov> wrote:
> Andriy, Im pretty sure @strcat() will take an int and return a string.
>

Mike, yes, you are right -- there was another error in my script,
@strcat indeed works with int.

One more basic question (sorry if I missed this in the guide): is
there a way to get the size of an array? I would like to split a
string, and get the last item in the array it returns. Is this
possible?


> - Mike
>
> ----- "Andriy Fedorov" <fedorov at bwh.harvard.edu> wrote:
>
>> Hi,
>>
>> Is it possible to convert int type to string type in Swift?
>>
>> I see @toint, but not @tostring, and it looks like I am not able to
>> pass int to @strcat().
>>
>> Thanks
>>
>> --
>> Andriy Fedorov, Ph.D.
>>
>> Research Fellow
>> Brigham and Women's Hospital
>> Harvard Medical School
>> 75 Francis Street
>> Boston, MA 02115 USA
>> fedorov at bwh.harvard.edu
>> _______________________________________________
>> Swift-user mailing list
>> Swift-user at ci.uchicago.edu
>> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user
>
> --
> Michael Wilde
> Computation Institute, University of Chicago
> Mathematics and Computer Science Division
> Argonne National Laboratory
>
>



More information about the Swift-user mailing list