Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

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 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 Master Engineer

    Messages:
    9,858
    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.