Append/Prepend with no space?

May 30, 2009 at 7:22pm

Append/Prepend with no space?

Im trying to make my mp3 player dropbox accept folder drops…At the final stage of my subpatch I am taking the filepath and adding the file name to it:

C:/Test/ + test.mp3 = C:/Test/ test.mp3

That space between them is what I am trying to eliminate. I need it to be:

C:/Test/test.mp3

#44169
May 30, 2009 at 7:25pm

Check out [sprintf], perfect object for formatting file paths.

#158716
May 30, 2009 at 7:42pm

You might also try [combine]. I just discovered this object. I’ve always used [sprintf] but [combine] seems tailor-made for dealing with filepaths and filenames.

#158717

You must be logged in to reply to this topic.