bc-string v1.4.0 (2023-05-15T21:45:08Z)
Dub
Repo
shortestIndent.cur
bc
string
string
dedent
shortestIndent
Undocumented in source.
template
shortestIndent
(alias str, size_t prev = size_t.max)
nothrow @
nogc
static if
(!(
line.length == 0
))
static if
(!(
line.length == stripped.length
))
enum
cur
=
prev
>
line.length
-
stripped.length
?
line.length
-
stripped.length
:
prev
;
Meta
Source
See Source File
bc
string
string
dedent
shortestIndent
manifest constants
cur
line
next
shortestIndent
stripped