Fortran SFF API to data I/O streams in C++
◆
sff_TrimLen()
subroutine sff_TrimLen
(
character, dimension(*)
string
,
integer
ntrim
)
Definition at line
39
of file
fapid_sff_trimlen.f
.
39
c
40
c give length of a string excluding trailing blanks
41
c Input:
42
c string: String to be trimmed
43
c Output:
44
c ntrim: length of string excluding trailing blanks
45
c
46
integer
ntrim
47
character
string*(*)
48
cE
49
do
10 ntrim=len(string),1,-1
50
10
if
(string(ntrim:ntrim).ne.
' '
)
return
51
ntrim = 1
52
return
fapid_sff_trimlen.f
Generated on Mon Aug 21 2023 17:36:28 for Fortran SFF API to data I/O streams in C++ by
1.8.14