View Single Post
Old 05-20-2014, 04:18 PM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,452
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
@Snow Sciles and @eschwartz: you might want to use strcmp instead of contains. Contains takes an regexp and can match substrings, while strcmp does an exact match. For example, the contains in that template would match "Temp Fanfiction Library", which you might not want.

Alternatively, use anchors in the regexp pattern given to "contains", as in "^Fanfiction Library$".
chaley is offline   Reply With Quote