to text for formats> to text {flags} 
| input | output | 
|---|---|
| any | string | 
Outputs data as simple text
>1|to text
1
Outputs external data as simple text
>githelp-a|lines|find-r'^ '|to text
Outputs records as simple text
>ls|to text
    Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
    https://www.nushell.sh/commands/docs/to_text.html