String format related question
Posted: Tue Sep 16, 2014 5:39 pm
I've been trying to create a playlist with a list of songs.
These songs are of course sorted in a path format, so
when I try to sort the table and add each song to a list, the names are "assets/music/matryoshkachorus.mp3" and so forth. I just want to sort the names and format out the path ("assets/music/") and the .mp3 suffix.
Been searching for a solution, and will keep searching.
These songs are of course sorted in a path format, so
Code: Select all
list = {
"assets/music/matryoshkachorus.mp3",
"assets/music/senbonzakurachorus.mp3",
"assets/music/noushouchorus.mp3",
"assets/music/headphoneactorchorus.mp3",
"assets/music/nyanchorus.mp3",
"assets/music/rimokonchorus.mp3",}
Been searching for a solution, and will keep searching.