spasm v0.2.0-beta.8 (2020-09-12T08:27:15Z)
Dub
Repo
capitalize.capitalize
spasm
ct
capitalize
Undocumented in source.
enum
capitalize
;
enum
capitalize
;
enum
capitalize
;
template
capitalize
(string str)
static if
(!(
str.length == 0
))
static if
(
str[0] < 0xAA
)
static if
(!(
str[0] < 'a'
))
static if
(
str[0] <= 'z'
)
enum
capitalize
=
str
[
0
] -
32
~
str
[
1
.. $]
;
enum
capitalize
;
enum
capitalize
;
Meta
Source
See Source File
spasm
ct
capitalize
manifest constants
capitalize