Is it currently possible to create a Span<T> (and related types) based on multiple slices of another span?
What I'm trying to achieve is a type of multi-substring.
Consider the following array of chars:
[M][y][ ][b][r][i][l][l][i][a][n][t][ ][s][e][n][t][e][n][c][e]
I'd like to assemble a new sentence based on a list of ranges.
var newSentence = Span.MultiSlice(originalSentence, new List<(int start, int length)> { (3, 5), (13, 4) })
Should result in a ReadOnlySpan<char> that represents brillsent.
Also would it be possible to assemble this Span by slicing from different spans, instead of just the one originalSentence, as in the above example?