An explicit copy of a sanitized parameter
The complete source of basics_sanitized_copy.ek9, compiled by the EK9 compiler. Shown on basics.html.
#!ek9 defines module site.basics.sanitizedcopy defines function //An explicit copy processInput() -> input as sanitized String <- result as String: String() local <- String(input) // OK: Explicit copy constructor local += " modified" // Only affects 'local' result: local