URL encoding: Difference between revisions

→‎{{header|langur}}: using for loop value instead of foldfrom() function
(→‎{{header|langur}}: using for loop value instead of foldfrom() function)
Line 569:
<lang langur>val .urlEncode = f(.s) replace(
.s, re/[^A-Za-z0-9]/,
f(.s2) foldfrom(for[.f(=ZLS] .s3,b in s2b(.bs2) { .f ~= $"\.s3;%\.b:X02;", ZLS, s2b(.s2))},
)
 
890

edits