StringUtils Module file:StringUtils

Dependencies

Interfaces Expand Interfaces

  • RealToStr
    • SingleToStr
    • DoubleToStr

Subroutines Expand Arguments

  • StringAppend(S, X)
    • character(LEN=:) allocatable :: S
    • class(*)  :: X
  • StringReplace(FindS, RepS, S)
    • character(LEN=*) intent(in) :: FindS
    • character(LEN=*) intent(in) :: RepS
    • character(LEN=:) allocatable, intent(inout) :: S

    Functions  Expand Arguments

  • character(LEN=:) allocatable concat(S1, S2)
    • character(LEN=*) intent(in) :: S1
    • class(*) intent(in) :: S2
  • character(LEN=:) allocatable DoubleToStr(R, figs)
    • double precision intent(in) :: R
    • integer intent(in), optional :: figs
  • character(LEN=:) allocatable FormatString(formatst, i1, i2, i3, i4, i5, i6, i7, i8, allow_unused)
    • character(LEN=*) intent(in) :: formatst
    • class(*) intent(in),optional :: i1
    • class(*) intent(in),optional :: i2
    • class(*) intent(in),optional :: i3
    • class(*) intent(in),optional :: i4
    • class(*) intent(in),optional :: i5
    • class(*) intent(in),optional :: i6
    • class(*) intent(in),optional :: i7
    • class(*) intent(in),optional :: i8
    • logical optional, intent(in) :: allow_unused
  • character(LEN=:) allocatable GetEnvironmentVariable(name, is_present)
    • character(LEN=*) intent(in) :: name
    • logical intent(out), optional :: is_present
  • character(LEN=:) allocatable GetParam(i)
    • integer intent(in) :: i
  • integer GetParamCount()
  • character(LEN=:) allocatable IntToStr(I, minlen)
    • integer intent(in) :: I
    • integer intent(in), optional :: minlen
  • logical IsWhiteSpace(C)
    • character intent(in) :: C
  • character(LEN=:) allocatable Join(S, S1, S2, S3, S4, S5, S6, trimmed)
    • character(LEN=*) intent(in) :: S
    • character(LEN=*) intent(in) :: S1
    • character(LEN=*) optional :: S2
    • character(LEN=*) optional :: S3
    • character(LEN=*) optional :: S4
    • character(LEN=*) optional :: S5
    • character(LEN=*) optional :: S6
    • logical intent(in), optional :: trimmed
  • character(LEN=:) allocatable numcat(S, num)
    • character(LEN=*)  :: S
    • integer  :: num
  • character(LEN=:) allocatable SingleToStr(R, figs)
    • real intent(in) :: R
    • integer intent(in), optional :: figs
  • character(LEN=:) allocatable StringEscape(S, C, escape)
    • character(LEN=*) intent(in) :: S
    • character intent(in) :: C
    • character intent(in), optional :: escape
  • logical StringStarts(S, substring, index)
    • character(LEN=*) intent(in) :: S
    • character(LEN=*) intent(in) :: substring
    • integer intent(in), optional :: index
  • character(LEN=:) allocatable StringTrimmed(S, trimmed)
    • character(LEN=*) intent(in) :: S
    • logical intent(in), optional :: trimmed
  • integer StrToInt(S)
    • character(LEN=*) intent(in) :: S
  • logical SubNextFormat(S, X)
    • character(LEN=:) allocatable :: S
    • class(*)  :: X