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 12%
lydxn
Shanethegamer
fuzzylojik-golf
voytxt
#2
53 c.
Top 27%
Steffan
randolchance
sisyphus-ppcg
Natanaelel
danielgjackson
#3
56 c.
Top 61%
+1
Pascal
scpchicken
davyboyh
mathis
alexisab
SXW172P_thdgit
cers
500error
dreimert
tree
#4
58 c.
Top 67%
madeforlosers
AlephSquirrel
#5
59 c.
Top 70%
team
#6
60 c.
Top 76%
Logicer
val
#7
61 c.
Top 79%
CGjupoulton
#8
65 c.
Top 82%
maximec-indy
#9
66 c.
Top 85%
KrausRaus
#10
67 c.
Top 88%
Thomas
#11
69 c.
Top 91%
Seboran
#12
72 c.
Top 94%
two-bad
#13
77 c.
Top 97%
ComputerKWasTaken
#14
331 c.
Top 100%
jules