Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
A competition to solve a particular problem through the usage and manipulation of strings.
1
vote
How much code would a codegolf golf if a codegolf could golf code?
Batch, 56 bytes
@echo How much %1 would a %1%2 %2 if a %1%2 could %2 %1?
2
votes
Hare Krishna Hare Krishna Krishna Krishna Hare Hare
Batch, 117 111 103 89 bytes
@set a=Hare
@for %%A in ("Krishna " "Rama ") do @echo %a%%%~A%a%%%~A^
%%~A%%~A%a%%a%
Down to 103 now that trailing newlines are allowed. Down to 89 after adapting the …
3
votes
Converting "0xUsernames"
Batch, 33 bytes
@(cmd/cset/a0x1%1 2>nul)||echo %1
How it works
A string is passed in as an argument, 1 is prepended to it, and the string is implicitly converted to decimal and printed. … If the string is not valid hexadecimal, it is simply displayed.
It should be noted that since batch math uses signed 32-bit integers, the biggest allowed username is FFFFFFF. …