EasyObjects.NET Programmers Reference

EasyObject.RSet Method 

Mimics the old VB RSet function, which places a value within a padded string of a defined length.

protected string RSet(
   string field,
   int length
);

Parameters

field
The value to place in the padded string
length
The maximum length of the padded string

Return Value

A string containing the value and any string padding up to the length

Remarks

If the length of the value is greater than the maximum padded length, then the original string is returned.

See Also

EasyObject Class | NCI.EasyObjects Namespace