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 14%
fuzzylojik-golf
Shanethegamer
lydxn
voytxt
#2
53 c.
Top 32%
danielgjackson
sisyphus-ppcg
randolchance
Natanaelel
Steffan
#3
56 c.
Top 64%
alexisab
cers
Pascal
scpchicken
davyboyh
Thomasdcrt
tree
dreimert
mathis
#4
58 c.
Top 68%
AlephSquirrel
#5
59 c.
Top 71%
team
#6
60 c.
Top 75%
val
#7
61 c.
Top 79%
CGjupoulton
#8
65 c.
Top 82%
maximec-indy
#9
66 c.
Top 86%
KrausRaus
#10
67 c.
Top 89%
Thomas
#11
69 c.
Top 93%
Seboran
#12
72 c.
Top 96%
two-bad
#13
77 c.
Top 100%
ComputerKWasTaken