Hi Daniel,
>Frank:
>
>> Why use padr(left(myMemo,254),254) when padr(myMemo,254) will do the same thing?
>
>Because it ain't obvious from the documentation that VFP truncates the string if the specified nResultSize is less than the length of the string? What you said is true but well known.
This has been changed in the VFP7 Help:
nResultSize
Specifies the total number of characters in the expression after it is padded.
As you can see, VFP7 Help states that iw ill always return the same amount of characters, regardless of the LEN() of the inputstring.
Regards,
Frank Camp