4. Write a function named “containsIgnoreCase” that accepts a vector of BoolVariable object pointers and a search string

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

4. Write a function named “containsIgnoreCase” that accepts a vector of BoolVariable object pointers and a search string

Post by answerhappygod »

4. Write a function named “containsIgnoreCase” that accepts a
vector of BoolVariable object pointers and a search string. It will
return the list of BoolVariable objects that have the variable
names containing that given search string (case-insensitive). In
addition, it will also return the count of all the variable objects
that have the exact match (equal to the search string). Please note
that the list can contain pointers to BoolVariable objects as well
as any of its derived class objects such as IntVariable objects
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply