Skip to content

Routines to handle (allocatable) character arrays #315

Open
@awvwgk

Description

@awvwgk

Another representation of strings rather than the fixed length character or deferred length character variable could be (allocatable) character array. Converting between deferred length character variables and allocatable character arrays is usually possible with the intrinsic transfer function. Especially for C compatible routines that do not yet use the ISO-Fortran binding header on the C side this is a frequently used functionality.

Should stdlib provide helper functions for operations on character arrays? Most of those will be automatic due to elemental functions in stdlib_ascii at some point, but (safe) conversion routines between allocatable character arrays and deferred length characters might be a useful addition (module namespace?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    implementationImplementation in experimental and submission of a PRtopic: stringsString processing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions