Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

function::text_str


Name

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

Synopsis

text_str:string(input:string)

Arguments

input
the string to escape

Description

This function accepts a string argument, and any ASCII characters that are not printable are replaced by the corresponding escape sequence in the returned string.