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