Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> substrings, selecting substrings
lolmaster
post Nov 30 2006, 09:36 PM
Post #1


Newbie
*

Group: Members
Posts: 1
Joined: 30-November 06
Member No.: 210



hi, I downloaded AMIP today, but there's one thing I would like to see in it in the future.

When the song doesn't have tags and it switches to the %s. But, in foobar, I display the song's position in the playslist before the name. So what I'm getting now as an output is "001. song"

For the time being, what I'm doing is a $strip(001. ,%s). But if the file is in a different position in my playlist, it won't work.

What I would like to see is either a wildcard character, so that I could do a strip(00?. ) or something, or, better yet, have a function that removes the first 5 characters.

This shouldn't be too hard to do and would be a cool addition to AMIP.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
Serge
post Dec 1 2006, 08:29 AM
Post #2


AMIP Developer
***

Group: Root Admin
Posts: 935
Joined: 12-March 06
Member No.: 1



$strip(\d\d\d\. ,%s) should work.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: