fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 133: Case-insensitive string contains
Idiom # 133: Case-insensitive string contains
See
programming-idioms.org
:
Code
ok := s.lower_case.contains word.lower_case
What are effects?
Running Example
ex133 => word := "word" s := "A sentence containing WoRd." ok := s.lower_case.contains word.lower_case say ok
What are effects?
last changed: 2024-07-01
next: Idiom # 134: Create a new list