Skip to main content
6 events
when toggle format what by license comment
Nov 10, 2016 at 3:49 review Low quality posts
Nov 10, 2016 at 3:52
Nov 10, 2016 at 3:49 comment added runr @Billywob thanks, will keep this in mind! edited the answer accordingly.
Nov 10, 2016 at 3:47 history edited runr CC BY-SA 3.0
As corrected by a comment
Nov 5, 2016 at 14:23 comment added Billywob Welcome to PPCG! Nice answer but assuming that input is already specified is generally not accepted. To make your answer qualify you would either have to read input from stdin such as: a=scan();sum(grepl(a,a[2]:a[3])) or as arguments to a function: function(a,b,c)sum(grepl(a,b:c)), both equivalent in this case.
Nov 5, 2016 at 6:07 review First posts
Nov 5, 2016 at 6:08
Nov 5, 2016 at 6:07 history answered runr CC BY-SA 3.0