Why is there a difference in returned length between:
l=len(trim(string)) ! => l=23
l=len_trim(string) ! => l=23
and of course
l=index(string," ") ! => l=24
same situation for
l=index(trim(string)," ") ! => l=0
This seems to be a bit inconsistent.
I am just curious why it is implemented this way.
It appears that during the assignment:
the string is padded with blanks. Is this Fortran standard?