fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 321: Access character in string, by index
Idiom # 321: Access character in string, by index
See
programming-idioms.org
:
Code
c := s.as_codepoints[i]
What are effects?
Running example
ex321 is s := "hell☃" i := 4 c := s.as_codepoints[i] say c
What are effects?
last changed: 2024-07-01
next: NYI: Idiom # 322: replace value of variable with new one and return old value