source: trunk/LMDZ.GENERIC/utilities/strlen.for @ 1217

Last change on this file since 1217 was 253, checked in by emillour, 13 years ago

Generic GCM

  • Massive update to version 0.7

EM+RW

File size: 186 bytes
Line 
1      integer function strlen(st)
2      integer i
3      character st*(*)
4      i=len(st)
5      do while (st(i:i).eq.' ')
6         i=i-1
7      enddo
8      strlen=i
9      return
10      end
Note: See TracBrowser for help on using the repository browser.