Right...I should not have said it would not work....but it would be a big PIA as you pointed out. My simpler option would be to change those that have "The" at the front to move it to the end with a comma.
Meanwhile I was looking online generally to see if there was any other information I could find. I did run across an item here which includes some script dealing with a way to do this in some ways...but I really wouldn't know how to apply it to this situation...or where since I don't really know how to write this kind of script.
Anyway if anyone is looking at this here is the kind of thing they are doing:
PHP Code:
bundle « Set return values
local
pageTitle = html.getPagePref( "title", entryAdr )
ignoreLeadingWords = {"the", "an", "a"}
firstWord = string.firstWord( pageTitle )
« Entry (page) address
returnTable.entryAdr = entryAdr
« Entry name (for sort order)
if ( ignoreLeadingWords contains string.lower( firstWord ) )
returnTable.entryName = string.mid( pageTitle, string.length( firstWord ) + 1, infinity ) + ", " + firstWord
else
returnTable.entryName = pageTitle
« Remove any extra spaces that followed the first word
while ( returnTable.entryName beginsWith " " )
returnTable.entryName = string.delete( returnTable.entryName, 1, 1 )
« Keywords: Initial character of entry name
returnTable.keywords = string.upper( string.mid( returnTable.entryName, 1, 1 ) )
return ( returnTable )
There is more script on the link I provided...but this at least gives an idea of the concept of ignoring certain lead words when filtering product results that might be able to do the trick.