I've tried something like that, but that's trying to get it to start a certain position. What I'm trying to do (because it saves me from renaming folders, and if I share this, means everyone else won't have to rename folders as well) is to effectively do that function, but have it not needing to start at a particular point (as some folders are structured with the manufacturer at the start, but others are at the end)
EDIT: Actually, in saying that, I could always do that and have one string look for 'team' at the start of the folder name, and another string look for it at the end. Just need to cover off those that randomly sit in the middle..
EDIT 2: Tried putting that together. One issue I've got in the way I've put it together though. The code basically looks like this-
var a = lcase(right($prop('GarySwallowDataPlugin.Leaderboard.Position20.CarName'),0,7));
if a= 'ferrari'
return "Ferrari"
But, that will only work for 7 characters, what about when I have:
if a= 'jordan'
return "Jordan"
how do I make the 7 in ),0,7)); indefinite?