HydrogenAudio

Hosted Forums => foobar2000 => General - (fb2k) => Topic started by: godrick on 2012-05-17 02:46:03

Title: Are case-sensitive library searches possible?
Post by: godrick on 2012-05-17 02:46:03
I haven't found a way to use title formatting or search query syntax to conduct case-sensitive searches in my library, mainly to find capitalization errors.  Are case-sensitive library searches possible, and if so, how?  Thanks for any tips.

For example, I'd like to find all occurrences of " To" (as opposed to " to") in song titles - leading space intended.  I don't want to automatically do anything to matches because my capitalization preferences are too complex for me to express in title formatting at this time - I just want to see the search results before deciding what to do.
Title: Are case-sensitive library searches possible?
Post by: romor on 2012-05-17 04:48:50
godrick, $strstr() seems case-sensitive:

Code: [Select]
"$strstr(%title%, To)" GREATER 0
Title: Are case-sensitive library searches possible?
Post by: godrick on 2012-05-17 12:13:54
Romor, your suggestion works perfectly - thanks very much!