• SymbolStringSearchPolicy

    From Glenn Swanlund@21:1/5 to All on Fri Jul 23 14:35:34 2021
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From john.aspinall@gmail.com@21:1/5 to GTS on Sat Jul 24 02:14:27 2021
    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


    On Friday, July 23, 2021 at 10:35:35 PM UTC+1, GTS wrote:
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From john.aspinall@gmail.com@21:1/5 to john.a...@gmail.com on Sat Jul 24 02:15:34 2021
    Typo correction:

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


    On Saturday, July 24, 2021 at 10:14:28 AM UTC+1, john.a...@gmail.com wrote:
    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
    On Friday, July 23, 2021 at 10:35:35 PM UTC+1, GTS wrote:
    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

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)