fuzion-lang.dev β The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
β’
Idioms
β’
Idiom # 38: Extract a substring
Idiom # 38: Extract a substring
See
programming-idioms.org
:
Code
t := s.substring_codepoint i j
What are effects?
Running Example
ex38 is s := "ππΆπ£πΈπππ·π" for j in 0..s.codepoint_length do for i in 0..j do t := s.substring_codepoint i j say "'$t'"
What are effects?
last changed: 2024-07-01
next: Idiom # 39: Check if string contains a word