[#absl-Cord-Subcord] = xref:absl.adoc[absl]::xref:absl/Cord.adoc[Cord]::Subcord :relfileprefix: ../../ :mrdocs: Returns a new Cord representing the subrange [pos, pos + new_size) of] *this. == Synopsis Declared in `<absl/strings/cord.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:absl/Cord.adoc[Cord] Subcord( size_t pos, size_t new_size) const; ---- == Description If pos >= size(), the result is empty(). If (pos + new_size) >= size(), the result is the subrange [pos, size()).] == Return Value A Cord holding the requested subrange. == Parameters [cols="1,4"] |=== | Name| Description | *pos* | The starting byte offset of the subrange. | *new_size* | The number of bytes in the subrange. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#