Main Page: Difference between revisions
Jump to navigation
Jump to search
m
→Split text by delimiter
Miraheze>Adám Brudzewsky (centre all "further" links) |
Miraheze>Adám Brudzewsky |
||
Line 40: | Line 40: | ||
APL's terseness means that substantial programs are expressible in a small space, relative to many other programming languages. Below are just a taste. Many more, and fully explained, examples are in [[Examples|the main examples article]]. | APL's terseness means that substantial programs are expressible in a small space, relative to many other programming languages. Below are just a taste. Many more, and fully explained, examples are in [[Examples|the main examples article]]. | ||
=== Split text by delimiter === | === Split text by delimiter === | ||
With the introduction of [[tacit]] programming, many functions can be expressed in fewer characters that even the shortest fitting name. For example <source lang=apl inline>≠⊆⊢</source> is but three characters, | With the introduction of [[tacit]] programming, many functions can be expressed in fewer characters that even the shortest fitting name. For example <source lang=apl inline>≠⊆⊢</source> is but three characters, while would need five for the name <code>Split</code>: | ||
[https://tryapl.org/?a=%27%2C%27%28%u2260%u2286%u22A2%29%27comma%2Cdelimited%2Ctext%27&run Try it now!] | [https://tryapl.org/?a=%27%2C%27%28%u2260%u2286%u22A2%29%27comma%2Cdelimited%2Ctext%27&run Try it now!] |