@@ -555,13 +555,13 @@ Pure function
555
555
556
556
### Arguments
557
557
558
- ` p1, p2 ` : Shall be a character string. It is an ` intent(in) ` argument.
558
+ ` p1, p2 ` : Shall be a character string or ` type(string_type) ` . It is an ` intent(in) ` argument.
559
559
or
560
- ` p ` : Shall be a list of character strings. It is an ` intent(in) ` argument.
560
+ ` p ` : Shall be a list of character strings or list of ` type(string_type) ` . It is an ` intent(in) ` argument.
561
561
562
562
### Return values
563
563
564
- The resultant path.
564
+ The resultant path, either a character string or ` type(string_type) ` .
565
565
566
566
## ` operator(/) `
567
567
@@ -581,13 +581,13 @@ Pure function.
581
581
582
582
### Arguments
583
583
584
- ` lval ` : A character string. It is an ` intent(in) ` argument.
584
+ ` lval ` : A character string or ` type(string_type) ` . It is an ` intent(in) ` argument.
585
585
586
- ` rval ` : A character string. It is an ` intent(in) ` argument.
586
+ ` rval ` : A character string or ` type(string_type) ` . It is an ` intent(in) ` argument.
587
587
588
588
### Result value
589
589
590
- The result is an ` allocatable ` character string
590
+ The result is an ` allocatable ` character string or ` type(string_type) `
591
591
592
592
#### Example
593
593
@@ -615,9 +615,9 @@ Subroutine
615
615
616
616
### Arguments
617
617
618
- ` p ` : A character string containing the path to be split. It is an ` intent(in) ` argument.
619
- ` head ` : The first part of the path. It is an ` allocatable, intent(out)` argument.
620
- ` tail ` : The rest part of the path. It is an ` allocatable, intent(out)` argument.
618
+ ` p ` : A character string or ` type(string_type) ` containing the path to be split. It is an ` intent(in) ` argument.
619
+ ` head ` : The first part of the path. Either a character string or ` type(string_type) ` . It is an ` intent(out) ` argument.
620
+ ` tail ` : The rest part of the path. Either a character string or ` type(string_type) ` . It is an ` intent(out) ` argument.
621
621
622
622
### Behavior
623
623
@@ -654,15 +654,15 @@ Function
654
654
655
655
### Arguments
656
656
657
- ` p ` : the path, a character string. It is an ` intent(in) ` argument.
657
+ ` p ` : the path, a character string or ` type(string_type) ` . It is an ` intent(in) ` argument.
658
658
659
659
### Behavior
660
660
661
661
- The ` tail ` of ` [[stdlib_system(module):split_path(interface)]] ` is exactly what is returned. Same Behavior.
662
662
663
663
### Return values
664
664
665
- A character string.
665
+ A character string or ` type(string_type) ` .
666
666
667
667
### Example
668
668
@@ -689,15 +689,15 @@ Function
689
689
690
690
### Arguments
691
691
692
- ` p ` : the path, a character string. It is an ` intent(in) ` argument.
692
+ ` p ` : the path, a character string or ` type(string_type) ` . It is an ` intent(in) ` argument.
693
693
694
694
### Behavior
695
695
696
696
- The ` head ` of ` [[stdlib_system(module):split_path(interface)]] ` is exactly what is returned. Same Behavior.
697
697
698
698
### Return values
699
699
700
- A character string.
700
+ A character string or ` type(string_type) ` .
701
701
702
702
### Example
703
703
0 commit comments