Skip to main content
We’ve updated our Terms of Service. A new AI Addendum clarifies how Stack Overflow utilizes AI interactions.
Code Golf

Return to Revisions

3 of 3
Commonmark migration

Perl 5, 70 bytes

A subroutine:

{$"='';reverse(map/[A-Z]/?chr(155-ord):$_,(@_=split'',uc$_[0]))eq"@_"}

See it in use:

print sub{...}->("W i z a r d")
msh210
  • 3.5k
  • 23
  • 36

AltStyle によって変換されたページ (->オリジナル) /