Check if variable CONTAINS a specific character?

Cslib is a collection of pluggable, ready to use subroutines. In the cslib_string module you have three subroutines that could help you achieve what you want: find, index and contains. Contains being the one that best fit your use case.

4 Likes