WRAP(1) WRAP(1)
NNAAMMEE
_w_r_a_p_(_) - returns a string wrapped to a specified terminal
width
SSYYNNOOPPSSIISS
varargs string wrap(string str, int width)
DDEESSCCRRIIPPTTIIOONN
If a second argument is passed, the first argument is
fitted with carriage returns to wrap the string for
display on a terminal as wide as the second argument. If
no second argument is given, a terminal width of 80 is
assumed.
LLOOCCAATTIIOONN
/secure/SimulEfun/strings.c
SSEEEE AALLSSOO
_a_r_r_a_n_g_e___s_t_r_i_n_g_(_), _f_o_r_m_a_t___p_a_g_e_(_), _s_p_r_i_n_t_f_(_)
AAuutthhoorr
Descartes of Borg
1