Hard time with [ and ]
#1
Star 
Hey

I'm trying to get some info from my movie filenames in order to tag which are in french and which are in english. My movies are tagged with [FR] or [ENG]. I got around with a substring(ListItem.filename,FR) but I keep getting bad results with movie titles including "from". I'm trying to replace that line with substring(ListItem.filename,[FR]) but from what I understand, the [ ] are causing me alot of problems.

Any ideas? I'm guessing there's an easy solution involving something like $LBRACKET but I can't find it.

Thanks!
Reply
#2
Did you try escaping them? ie \[ and \].
Reply
#3
Yeah but I'm guessing I have the syntax wrong. I tried substring(ListItem.filename,\[FR\]) , \[ + FR + \]...
Reply

Logout Mark Read Team Forum Stats Members Help
Hard time with [ and ]0