Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    \$\begingroup\$ I'm afraid this returns 1 (true) for the single-character strings "a", "b" and "c". \$\endgroup\$ Commented Sep 9, 2020 at 22:02
  • \$\begingroup\$ Fixed (I think) for 108 bytes \$\endgroup\$ Commented Sep 9, 2020 at 22:12
  • \$\begingroup\$ @DominicvanEssen - ah rats - missed the bits about 1 above.. many thanks for fixing - and saving 10 bytes \$\endgroup\$ Commented Sep 10, 2020 at 3:37
  • \$\begingroup\$ @ceilingcat- I stare and stare and then you shave off another nearly ten bytes :-) \$\endgroup\$ Commented Sep 10, 2020 at 3:37