fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 97: Check string suffix
Idiom # 97: Check string suffix
See
programming-idioms.org
:
Code
Code input
b := s.ends_with suffix
What are effects?
Runnable Example
Code input
ex97 is ends_with(s, suffix String) => b := s.ends_with suffix b say "$(ends_with "Fuzion is great!" "great!")" say "$(ends_with "Fuzion is great!" "n00b.")"
What are effects?
last changed: 2026-07-03
next: Idiom # 98: Epoch seconds to date object