38 CHARACTER*(*) str1,str2
52 IF(str1(i:i).NE.
' ') goto 2
61 IF(str1(j:j).EQ.
' ') goto 3
63 str2(lens:lens) = str1(j:j)
73 IF(str1(i:i).NE.
' ') lens = -1
76 IF(lens.EQ.-1 .AND. iprt.GE.0)
THEN
77 CALL
errwrt(
'++++++++++++++BUFR ARCHIVE LIBRARY+++++++++++++++++')
78 CALL
errwrt(
'BUFRLIB: STRSUC - INPUT STRING:')
80 CALL
errwrt(
'CONTAINS ONE OR MORE EMBEDDED BLANKS')
81 CALL
errwrt(
'++++++++++++++BUFR ARCHIVE LIBRARY+++++++++++++++++')
subroutine strsuc(STR1, STR2, LENS)
THIS SUBROUTINE REMOVES LEADING AND TRAILING BLANKS FROM A STRING.
subroutine errwrt(STR)
This subroutine allows the user to specify a custom location for the logging of error and diagnostic ...