Gab,
That worked perfectly! I was able to rearrange all 3000+ artist ID Tags in well under an hour! ThanX!
Now, can you please explain how that code in the artist field worked? How does changing ([artist],1,/,) to ([artist],0,/,) move the name after the comma to the front and remove the comma?
Thanks,
Chico
great that it worked.
are you familiar with the wiki for the expressions?
http://wiki.jrmediacenter.com/index.php/Media_Center_expression_languageas you can see i use the listitem expression two times, in the wiki it says:
ListItem(...): Use to return a value from a delimited list
List: List
Index: Index (starts at 0)
Delimiter: Delimiter (optional -- defaults to semi-colon)
in the "jovi, bon" case i use the "," as the delimiter. since the "," is also a sign used by the expressions it self i have to put a / in front of it, so it is recognized as a delimiter ( in this case).
so you can read this: listitem([artist],1,/,) listitem([artist],0,/,) as
from the with , delimited list return the second value put a space and return the first value.
the comma is not returned and i use the clean to get the spaces at the start away.
hope that this explenation is clear?
together with an if statement and the IsEqual and ListCount expression it should be possible to make an expression that would only change the order of the names with only one comma
gab