RSET


Right justifies a string in a string buffer

Syntax:
Usage:
Rset dst, src

Parameters:
dst
A string or wstring buffer to copy the text into.
src
The source string or wstring to be right justified.

Description:
Rset right justifies text into the string buffer dst, filling the right part of the string with src and the left part with spaces. The string buffer size is not modified.

If text is too long for the string buffer size, Rset truncates characters from the right.

Examples:
Dim buffer As String
buffer = Space(10)
RSet buffer, "91.5"
Print "-[" & buffer & "]-"


Differences from QB:
See also:
Back to String Functions


Valid XHTML :: Valid CSS: :: Powered by WikkaWiki



sf.net phatcode