Word Wrapping in Pro*C

From: Farnham Dave <farnham_at_spot.Colorado.EDU>
Date: Thu, 14 Oct 1993 22:45:54 GMT
Message-ID: <CEwsKI.Kn1_at_cnsnews.Colorado.EDU>


       Hi,

	   Does anyone have a Pro*C routine
	   written that takes as its argument
	   a varchar that is 240 characters
	   long, and given the length of
	   the column size on the report that
	   it has to print in....... will
	   print that variable correctly.
	   ????

Example:

Let's say this variable below contained the following text:

varchar text_string[240]

"The quick brown fox jumped over the

   lazy dog."

And you wanted to print it out on a report like this:

Text Field


  The quick brown fox
  jumped over the lazy
  dog.

      
	  Thanks, Jennifer Farnham
Received on Thu Oct 14 1993 - 23:45:54 CET

Original text of this message