Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Turning Integers into Strings?' topicStudent Support Forum > General > Archives > "Turning Integers into Strings?"

Next Comment >Help | Reply To Topic
Author Comment/Response
Theo
07/20/05 2:19pm

hello all,
I am trying to automate some of my data processing. I have a folder with many files in it, each with a name including digits. I want to write my program so that it reads each of the files without having to manually type the name in for each. is there a way to convert integer into a string? EG. if my file is named "data001to050" is there any way to convert the numbers 001 and 050 into strings, join them with "data" and "to", and then be able to use that to access the file. I would then update the values 001 to 051 and 050 to 100 as to read my next file "data051to100". I am driving myself crazy not being able to convert integers into text.
Any help would be appreciated.

URL: ,

Subject (listing for 'Turning Integers into Strings?')
Author Date Posted
Turning Integers into Strings? Theo 07/20/05 2:19pm
Re: Turning Integers into Strings? yehuda ben-s... 07/24/05 07:13am
Re: Turning Integers into Strings? Theo 07/24/05 8:07pm
Next Comment >Help | Reply To Topic