Jump to content

Brace expansion using ranges: Difference between revisions

m
(julia example)
Line 869:
 
=={{header|Julia}}==
Julia currently does not handle certain trigraphs in strings correctly, such as 🌶, so that test is omitted.
<lang julia>prefixzeros(str) = length(str) > 1 && str[1] == '0' ? length(str) : 0
 
4,105

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.