# RXPCHK

> [HTML Version](rxpchk_sbr.htm)

**xcall RXPCHK, string \{,rc\}**

RXPCHK checks a string to determine if it contains unprintable chararacters, which are defined as those whose ASCII values are less than 32 or are between 127 and 160 inclusive. 

**Parameters**

_string_  ([String](string.md))  \[in\]

string to check. _string_ is stripped of leading and trailing spaces and tabs and returned that way, regardless of whether valid.

_rc_  (F,6)  \[out\]

optional return value specifying okay (0) or the position of the first unprintable character in _string. _Note that RXPCHK may be passed to the [XFUNC](xfunc().md) function, in which case rc is not really relevant since the function itself returns the same value.