Closed nhz2 closed 1 year ago
This is a bug. There is a difference in that SubStaticString
is itself an AbstractStaticString
.
Fixed in #16, 0.2.4
Actually fixed in #17, 0.2.5
julia> using StaticStrings
julia> a = SubStaticString("hello",1:2)
substatic"he"5
julia> b = SubStaticString("hello",3:4)
substatic"ll"5
julia> a == b
false
Also, is there a difference between
SubStaticString{N}
and justSubString{StaticString{N}}
?