Podcast #128: We chat with Kent C Dodds about why he loves React and discuss what life was like in the dark days before Git. Listen now.
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
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
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
Results tagged with Search options user 2208

Code-golf is a competition to solve a particular problem in the fewest bytes of source code. If you want to score by characters instead of bytes, please state this explicitly in the challenge. If source code length is not the primary scoring criterion, consider using another tag instead.

3
votes
Mathematica (non code golf) indent[str_String]:=Module[{ind,indent,f}, ind=0; indent[i_]:="\n"<>Nest[" "<>ToString[#]&,"",i]; f[c_] := (indent[ind] <> c <> indent[++ind]) /; StringMatchQ["[({",__ …
answered Jul 30 '11 by Prashant Bhate
16
votes
23answers
Given the following input to the program: List of block start characters List of block end characters A string to format format the string with the blocks delimited by the two character sets inden …
asked Jul 4 '11 by Prashant Bhate
0
votes
Java Non codegolf version! Assuming we have this version of split() that includes delims, public static String indent(String input, String openPars, String closingPars) { String re = "[" …
answered Jul 5 '11 by Prashant Bhate