next up previous contents
Next: Concatenation Up: Intrinsic Character Operations Previous: Intrinsic Character Operations   Contents

Substrings

  character(len=*), parameter :: school="michigantech"

Expression Value
school(2:4) "ich"
school(:8) "michigan"
school(9:) "tech"
school(4) error (string is scalar)
school(4:4) "h" (correct form)



Adrian Sandu 2001-08-26