source:
trunk/LMDZ.GENERIC/utilities/strlen.for
@
1230
| Last change on this file since 1230 was 253, checked in by , 14 years ago | |
|---|---|
| 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.
