SymbolStringSearchPolicy

25 views
Skip to first unread message

Glenn Swanlund

unread,
Jul 23, 2021, 5:35:35 PMJul 23
to
Somewhere between 7.1.9 and 7.1.20 SymbolStringSearchPolicy was removed. I have an app that uses this. Is there another way to achieve the same function?

Thanks,
Glenn

john.a...@gmail.com

unread,
Jul 24, 2021, 5:14:28 AMJul 24
to
Hi Glenn,

SymbolStringSearchPolicy was necessary in earlier versions of Dolphin since (as per the class comment) "Normally Symbols are not considered equal to Strings even when they contain the same characters."

The class is no longer required (hence its removal) since Strings and Symbols with the same sequence of Characters now compare equal:

"7.0"
#abc = 'abc' "false"

"7.1"
#abs = 'abc' "true"

You should now be able to use EqualitySearchPolicy instead with the same results.

Hope this helps,

John

john.a...@gmail.com

unread,
Jul 24, 2021, 5:15:36 AMJul 24
to
Typo correction:

"7.1"
#abc = 'abc' "true"
Reply all
Reply to author
Forward
0 new messages