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