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 4%
helbling
SephQ
#2
52 c.
Top 15%
fuzzylojik-golf
lydxn
Shanethegamer
Lv0Sys
voytxt
#3
53 c.
Top 25%
danielgjackson
randolchance
sisyphus-ppcg
Natanaelel
Steffan
#4
56 c.
Top 58%
+6
tree
mathis
alexisab
madeforlosers
SXW172P_thdgit
cers
Salutations45
500error
dreimert
Thomasdcrt
#5
57 c.
Top 60%
XenThe
#6
58 c.
Top 63%
AlephSquirrel
#7
59 c.
Top 67%
Alex
team
#8
60 c.
Top 73%
josex2r
Logicer
val
#9
61 c.
Top 75%
CGjupoulton
#10
65 c.
Top 77%
maximec-indy
#11
66 c.
Top 79%
KrausRaus
#12
67 c.
Top 81%
Thomas
#13
69 c.
Top 83%
Seboran
#14
70 c.
Top 85%
c
#15
72 c.
Top 88%
two-bad
#16
77 c.
Top 90%
ComputerKWasTaken
#17
78 c.
Top 92%
Bull
#18
81 c.
Top 94%
thaispalmer
#19
96 c.
Top 96%
Mif712
#20
156 c.
Top 98%
Luke
#21
331 c.
Top 100%
jules