Strings
Strings are variables of an intrinsic Fortran type. They are a concatenation of characters and are padded to their declared length with trailing blank spaces. Arrays of strings can be constructed as well. Examples:
The length of a string can be determined with the two functions len
and len_trim
. Example:
The results are:
©
|
Cornell University
|
Center for Advanced Computing
|
Copyright Statement
|
Access Statement
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)
CVW material development is supported by NSF OAC awards 1854828, 2321040, 2323116 (UT Austin) and 2005506 (Indiana University)