080. Intrinsic character functions#
topic: Character variables
Note
This tip is a draft1.
Character functions:
scan(x,y): first position of a character in x found in y verify(x,y): first position in x NOT found in y index(x,y): first position of substring y in x adjustl/adjustr: remove leading/trailing spaces and pad to preserve LEN
Character functions:
— FortranTip (@fortrantip) January 7, 2022
scan(x,y): first position of a character in x found in y
verify(x,y): first position in x NOT found in y
index(x,y): first position of substring y in x
adjustl/adjustr: remove leading/trailing spaces and pad to preserve LENpic.twitter.com/ZQZUyRq86b
- 1
From the perspective of FortranTip Browser, “draft” means that it hasn’t been edited for formatting, hasn’t had corresponding Fortran programs added, the text content hasn’t been enhanced, etc. Draft texts are extracted from the corresponding Tweet using the Twitter API.