XMM-Newton SAS Home Page
XMM-Newton Science Analysis System


ssclib (ssclib-4.28.1) [xmmsas_20141104_1833-14.0.0]

stripStr() Miscellaneous utilities Some functions for testing/debugging Home Index

Meta Index / Home Page / Miscellaneous utilities


splitStr()

  subroutine splitStr(inStr, outStrAry)
    character(*), intent(in)  :: inStr
    character(*), pointer :: outStrAry(:)	! intent(out)
  end subroutine splitStr

This ``splits'' the given string with the delimeter of consecutive spaces into an array, and returns it as the pointer character array.

outStrAry should not be initialised before the call. NOTE make sure to deallocate outStrAry(:) after the call.



XMM-Newton SOC/SSC -- 2014-11-04