Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SymbolStringSearchPolicy

27 views
Skip to first unread message

Glenn Swanlund

unread,
Jul 23, 2021, 5:35:35 PM7/23/21
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 AM7/24/21
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 AM7/24/21
to
Typo correction:

"7.1"
#abc = 'abc' "true"
0 new messages