Forums > MaxMSP

Append/Prepend with no space?

May 30, 2009 | 7:22 pm

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


May 30, 2009 | 7:25 pm

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


May 30, 2009 | 7:42 pm

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.


Viewing 3 posts - 1 through 3 (of 3 total)