Caps Lock Swap

Swap the "r" key with the caps lock key.

Easy12/16/2023

Problem statement

Rewrite the string so that every time the letter "r" would appear, it is instead replaced with the caps lock key, so change the case until the next "r".

Problem leaderboard

#
Size
%
Users
#1
49 c.
Top 3%
SephQ
#2
52 c.
Top 14%
lydxn
fuzzylojik-golf
voytxt
Shanethegamer
#3
53 c.
Top 28%
Steffan
sisyphus-ppcg
Natanaelel
randolchance
danielgjackson
#4
56 c.
Top 61%
+2
Pascal
scpchicken
davyboyh
tree
alexisab
madeforlosers
SXW172P_thdgit
cers
dreimert
mathis
#5
58 c.
Top 64%
AlephSquirrel
#6
59 c.
Top 67%
team
#7
60 c.
Top 75%
josex2r
Logicer
val
#8
61 c.
Top 78%
CGjupoulton
#9
65 c.
Top 81%
maximec-indy
#10
66 c.
Top 83%
KrausRaus
#11
67 c.
Top 86%
Thomas
#12
69 c.
Top 89%
Seboran
#13
72 c.
Top 92%
two-bad
#14
77 c.
Top 94%
ComputerKWasTaken
#15
96 c.
Top 97%
Mif712
#16
331 c.
Top 100%
jules