2014-12-22, 10:31
(2014-12-22, 06:41)Warner306 Wrote: I didn't implement StringCompare because it appears to do the same thing. What is the benefit?
Well in this specific situation they would, but it's good to know what each function does and use the best case scenario.
StringCompare will match one string with another exactly. e.g. Plot=Plot
SubString can be used to match part of a string with the other, designating the left or right as a starting point. Also as you've found out it can be used as above with no adverse affects.
e.g. Say you have a mpaa string "Rated R for extreme balls and all sex scenes" to match you would use SubString(ListItem.mpaa,Rated R,Left).