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
52 c.
Top 13%
fuzzylojik-golf
Shanethegamer
lydxn
voytxt
#2
53 c.
Top 30%
danielgjackson
sisyphus-ppcg
randolchance
Natanaelel
Steffan
#3
56 c.
Top 67%
+1
cers
Pascal
scpchicken
davyboyh
Thomasdcrt
tree
dreimert
500error
mathis
alexisab
#4
58 c.
Top 70%
AlephSquirrel
#5
59 c.
Top 73%
team
#6
60 c.
Top 77%
val
#7
61 c.
Top 80%
CGjupoulton
#8
65 c.
Top 83%
maximec-indy
#9
66 c.
Top 87%
KrausRaus
#10
67 c.
Top 90%
Thomas
#11
69 c.
Top 93%
Seboran
#12
72 c.
Top 97%
two-bad
#13
77 c.
Top 100%
ComputerKWasTaken