rjust |
Table of contents
ProcedureRJUST ( Right justify a character string ) SUBROUTINE RJUST ( INPUT, OUTPUT ) AbstractRight justify a character string. Required_ReadingNone. KeywordsASCII CHARACTER STRING DeclarationsIMPLICIT NONE CHARACTER*(*) INPUT CHARACTER*(*) OUTPUT Brief_I/OVARIABLE I/O DESCRIPTION -------- --- -------------------------------------------------- INPUT I Input character string. OUTPUT O Output character string, right justified. Detailed_InputINPUT is the input character string. Detailed_OutputOUTPUT is the output character string, right justified. If INPUT is too large to fit into OUTPUT, it is truncated on the left. OUTPUT may overwrite INPUT. ParametersNone. ExceptionsError free. FilesNone. ParticularsAny trailing blanks in the input string are removed, and the remaining string is copied to the output string. ExamplesThe following examples should illustrate the use of RJUST. 'ABCDE ' becomes ' ABCDE' 'AN EXAMPLE ' ' AN EXAMPLE' ' AN EXAMPLE ' ' AN EXAMPLE' ' ' ' ' RestrictionsNone. Literature_ReferencesNone. Author_and_InstitutionJ. Diaz del Rio (ODC Space) W.L. Taber (JPL) I.M. Underwood (JPL) VersionSPICELIB Version 1.1.0, 12-AUG-2021 (JDR) Added IMPLICIT NONE statement. Edited the header to comply with NAIF standard. SPICELIB Version 1.0.1, 10-MAR-1992 (WLT) Comment section for permuted index source lines was added following the header. SPICELIB Version 1.0.0, 31-JAN-1990 (IMU) |
Fri Dec 31 18:36:43 2021