Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes


includes main-level program

top source mg_strwrap

result = mg_strwrap(str [, width=long] [, indent=long] [, first_indent=long])

Wrap a string into a character width limit space.

Return value



str in required type=string

string to wrap


width in optional type=long default=mg_termcolumns()

width to wrap string into

indent in optional type=long default=0L

indent for each line

first_indent in optional type=long default=INDENT

indent for the first line

File attributes

Modification date: Mon Feb 28 10:15:08 2011
Lines: 82
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.