1. This forum is obsolete and read-only. Feel free to contact us at support.keenswh.com

Case insensitive group names?

Discussion in 'Programming Questions and Suggestions' started by Sticky32, Sep 23, 2019.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Sticky32

    Sticky32 Trainee Engineer

    Messages:
    8
    Is there a simple way to get a list of blocks in a group using a case insensitive name?

    Everytime I try to use .tolower it just converts the string I am checking against to lower case instead of the group name I am trying to find.
     
  2. Malware

    Malware Master Engineer

    Messages:
    9,867
    You'll have to get all the groups and check manually with string.Equals with a relevant StringComparison value (eg. StringComparison.OrdinalIgnoreCase). GetGroupByName won't help you.
     
Thread Status:
This last post in this thread was made more than 31 days old.