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%
SephQ
helbling
#2
52 c.
Top 16%
smclaughlin-cf
Lv0Sys
voytxt
fuzzylojik-golf
Shanethegamer
lydxn
#3
53 c.
Top 27%
Steffan
danielgjackson
randolchance
Natanaelel
sisyphus-ppcg
#4
56 c.
Top 59%
+6
Pascal
scpchicken
davyboyh
dreimert
500error
tree
Salutations45
mathis
alexisab
madeforlosers
#5
57 c.
Top 61%
XenThe
#6
58 c.
Top 63%
AlephSquirrel
#7
59 c.
Top 67%
Alex
team
#8
60 c.
Top 73%
Logicer
josex2r
val
#9
61 c.
Top 76%
CGjupoulton
#10
65 c.
Top 78%
maximec-indy
#11
66 c.
Top 80%
KrausRaus
#12
67 c.
Top 82%
Thomas
#13
69 c.
Top 84%
Seboran
#14
70 c.
Top 86%
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