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,102

edits