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 15%
fuzzylojik-golf
Shanethegamer
lydxn
voytxt
#2
53 c.
Top 33%
danielgjackson
sisyphus-ppcg
randolchance
Natanaelel
Steffan
#3
56 c.
Top 63%
alexisab
Pascal
dreimert
davyboyh
Thomasdcrt
mathis
tree
scpchicken
#4
58 c.
Top 67%
AlephSquirrel
#5
59 c.
Top 70%
team
#6
60 c.
Top 74%
val
#7
61 c.
Top 78%
CGjupoulton
#8
65 c.
Top 81%
maximec-indy
#9
66 c.
Top 85%
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