spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
replace.replace
spasm
ct
replace
Undocumented in source.
enum
replace
;
enum
replace
;
template
replace
(string str, dchar from, dchar to)
static if
(!(
str.length == 0
))
static if
(
str[0] == from
)
enum
replace
=
to
~
replace
!(
str
[
1
..$],
from
,
to
)
;
enum
replace
;
Meta
Source
See Source File
spasm
ct
replace
manifest constants
replace