Questo contenuto non è disponibile nella lingua selezionata.

function::text_strn



Name

function::text_strn — Escape any non-printable chars in a string

Synopsis

text_strn:string(input:string,len:long,quoted:long)

Arguments

input
the string to escape
len
maximum length of string to return (0 implies MAXSTRINGLEN)
quoted
put double quotes around the string. If input string is truncated it will have ... after the second quote

Description

This function accepts a string of designated length, and any ASCII characters that are not printable are replaced by the corresponding escape sequence in the returned string.
Red Hat logoGithubredditYoutubeTwitter

Formazione

Prova, acquista e vendi

Community

Informazioni su Red Hat

Forniamo soluzioni consolidate che rendono più semplice per le aziende lavorare su piattaforme e ambienti diversi, dal datacenter centrale all'edge della rete.

Rendiamo l’open source più inclusivo

Red Hat si impegna a sostituire il linguaggio problematico nel codice, nella documentazione e nelle proprietà web. Per maggiori dettagli, visita il Blog di Red Hat.

Informazioni sulla documentazione di Red Hat

Legal Notice

Theme

© 2026 Red Hat
Torna in cima