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


ssclib (ssclib-4.36.1) [xmmsas_20230412_1735-21.0.0]


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 -- 2023-04-16