strRightJustify

C Styled Script
Reference Manual

<< Back  End  Next >>
 
 
INDEX
Introduction
Installation
Using The CSS Executive
Language
Directives
System Library
String Library
   strAscii
   strBuildRecord
   strCenter
   strChange
   strChar
   strExport
   strFormatNumber
   strImport
   strIndexOf
   strIsInteger
   strIsNumber
   strLeftJustify
   strLength
   strLower
   strParseRecord
   strRemoveWords
   strRightJustify
   strSplitConnectString
   strSplitPath
   strSpread
   strStrip
   strStripExtension
   strStripLeading
   strStripTrailing
   strSubString
   strUpper
   strWordCount
   strWords
Regular Expression Lib.
File Library
Database Library
C API
C++ API
CSS Links
  
strRightJustify(
  const string,   // string to center
  const width,    // width of field
  [const padd])   // padding character (default = ' ')

Right justifys a string in a field of width.

Examples:

strRightJustify('hello', 11);        // '      hello'
strRightJustify('hello', 11, '*');   // '******hello'
 Copyright © IBK LandquartLast revised by Peter Koch, 24.02.00<< Back  Top  Next >>