phobos-next ~master (2024-03-19T05:49:32Z)
Home
Dub
Repo
findSplit.findSplit
nxt
algorithm
searching
findSplit
Undocumented in source. Be warned that the author may not have intended to support it.
auto
findSplit
(Haystack haystack)
template
findSplit
(needles...)
@
trusted
auto
findSplit
(
Haystack
)
(
const
scope
return
Haystack
haystack
)
if
(
is
(
typeof
(
Haystack.init
[0 .. 0])) &&
is
(
typeof
(
Haystack.init
[0]) :
char
)
&&
isASCII
!(
needles
[0])
)
if
(
needles.length
== 1 &&
isExpressions
!
needles
)
auto
findSplit
(inout(T)[] haystack, const(T)[] needle)
auto
findSplit
(inout(T)[] haystack, T needle)
Meta
Source
See Implementation
nxt
algorithm
searching
findSplit
functions
findSplit