3
votes
Index and return 3 characters
Nibbles, 5.5 4.5 bytes
;.@%$32+
Attempt This Online!
Shorter than the Vyxal answer not anymore but still doesn't cheat by storing information in flags. Nibbles is ...
- 6,363
2
votes
Index and return 3 characters
J, 32 24 bytes
echo,.(,+/)32|3 u:1!:1[3
Full program, -8 bytes thanks to Conor.
Attempt This Online!
...
- 1,100
2
votes
Index and return 3 characters
PowerShell, 53 60 bytes
-7 bytes thanks to @Julian
By encapsulating the first command in parenthesis, I was able to skip the second command which just printed $t and saved 1 byte. The other 6 bytes ...
- 51
1
vote
Index and return 3 characters
JavaScript (Node.js), 51 55 bytes
-4 bytes thanks to @xigoi !
For the first time, i got the shortest JS answer!
...
- 581
1
vote
Index and return 3 characters
Java 8 (OpenJDK 8), 75 107 bytes
-32 bytes.
I don't know why i didn't think sooner of using peek even though it has been invented specifically for this kind of ...
- 581
1
vote
Index and return 3 characters
Fig, \$8\log_{256}(96)\approx\$ 6.585 bytes
SM',%32C
Try it online!
Sorta-port of 05AB1E.
...
- 5,153
1
vote
Index and return 3 characters
Thunno N, \$ 7 \log_{256}(96) \approx \$ 5.76 bytes
O32%DST
Attempt This Online!
Explanation
...
- 9,246
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
alphabet × 84code-golf × 81
string × 39
kolmogorov-complexity × 25
ascii-art × 12
number × 6
sequence × 3
arithmetic × 3
cryptography × 3
math × 2
decision-problem × 2
restricted-source × 2
combinatorics × 2
random × 2
sorting × 2
base-conversion × 2
natural-language × 2
word-puzzle × 2
cipher × 2
integer × 1
graphical-output × 1
date × 1
matrix × 1
parsing × 1
fastest-code × 1