@@ -38,10 +38,10 @@ used in a pure way.
3838<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
3939### Constructor for empty string
4040
41- The module defines a default constructor to create an empty string type.
42-
4341#### Description
4442
43+ The module defines a default constructor to create an empty string type.
44+
4545Creates a string instance representing an empty string.
4646
4747#### Syntax
@@ -80,11 +80,11 @@ end program demo
8080<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
8181### Constructor from character scalar
8282
83+ #### Description
84+
8385The module defines a default constructor to create a string type
8486from a character scalar.
8587
86- #### Description
87-
8888Creates a string instance representing the input character scalar value.
8989The constructor shall create an empty string if an unallocated deferred-length
9090character variable is passed.
@@ -127,11 +127,11 @@ end program demo
127127<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
128128### Assignment of character scalar
129129
130+ #### Description
131+
130132The module defines an assignment operations, ` = ` , to create a string type
131133from a character scalar.
132134
133- #### Description
134-
135135Creates a string instance representing the right-hand-side character scalar value.
136136
137137#### Syntax
@@ -566,10 +566,10 @@ end program demo
566566<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
567567### Ichar function
568568
569- Character-to-integer conversion function.
570-
571569#### Description
572570
571+ Character-to-integer conversion function.
572+
573573Returns the code for the character in the first character position of the
574574character sequence in the system's native character set.
575575
@@ -611,10 +611,10 @@ end program demo
611611<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
612612### Iachar function
613613
614- Code in ASCII collating sequence.
615-
616614#### Description
617615
616+ Code in ASCII collating sequence.
617+
618618Returns the code for the ASCII character in the first character position of
619619the character sequences represent by the string.
620620
@@ -656,10 +656,10 @@ end program demo
656656<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
657657### Index function
658658
659- Position of a * substring* within a * string* .
660-
661659#### Description
662660
661+ Position of a * substring* within a * string* .
662+
663663Returns the position of the start of the leftmost or rightmost occurrence
664664of string * substring* in * string* , counting from one. If * substring* is not
665665present in * string* , zero is returned.
@@ -711,11 +711,11 @@ end program demo
711711<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
712712### Scan function
713713
714+ #### Description
715+
714716Scan a * string* for the presence of a * set* of characters. Scans a * string* for
715717any of the characters in a * set* of characters.
716718
717- #### Description
718-
719719If * back* is either absent or * false* , this function returns the position
720720of the leftmost character of * string* that is in * set* . If * back* is * true* ,
721721the rightmost position is returned. If no character of * set* is found in
@@ -768,11 +768,11 @@ end program demo
768768<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
769769### Verify function
770770
771+ #### Description
772+
771773Scan a * string* for the absence of a * set* of characters. Verifies that all
772774the characters in * string* belong to the set of characters in * set* .
773775
774- #### Description
775-
776776If * back* is either absent or * false* , this function returns the position
777777of the leftmost character of * string* that is not in * set* . If * back* is * true* ,
778778the rightmost position is returned. If all characters of * string* are found
@@ -831,10 +831,10 @@ end program demo
831831<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
832832### Lgt function (lexical greater than)
833833
834- Lexically compare the order of two character sequences being greater than.
835-
836834#### Description
837835
836+ Lexically compare the order of two character sequences being greater than.
837+
838838The left-hand side, the right-hand side or both character sequences can
839839be represented by a string type.
840840This defines three procedures overloading the intrinsic ` lgt ` procedure.
@@ -885,10 +885,10 @@ end program demo
885885<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
886886### Llt function (lexical less than)
887887
888- Lexically compare the order of two character sequences being less than.
889-
890888#### Description
891889
890+ Lexically compare the order of two character sequences being less than.
891+
892892The left-hand side, the right-hand side or both character sequences can
893893be represented by a string type.
894894This defines three procedures overloading the intrinsic ` llt ` procedure.
@@ -939,11 +939,11 @@ end program demo
939939<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
940940### Lge function (lexical greater than or equal)
941941
942+ #### Description
943+
942944Lexically compare the order of two character sequences being greater than
943945or equal.
944946
945- #### Description
946-
947947The left-hand side, the right-hand side or both character sequences can
948948be represented by a string type.
949949This defines three procedures overloading the intrinsic ` lge ` procedure.
@@ -994,11 +994,11 @@ end program demo
994994<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
995995### Lle function (lexical less than or equal)
996996
997+ #### Description
998+
997999Lexically compare the order of two character sequences being less than
9981000or equal.
9991001
1000- #### Description
1001-
10021002The left-hand side, the right-hand side or both character sequences can
10031003be represented by a string type.
10041004This defines three procedures overloading the intrinsic ` lle ` procedure.
@@ -1049,10 +1049,10 @@ end program demo
10491049<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
10501050### Comparison operator greater
10511051
1052- Compare the order of two character sequences being greater.
1053-
10541052#### Description
10551053
1054+ Compare the order of two character sequences being greater.
1055+
10561056The left-hand side, the right-hand side or both character sequences can
10571057be represented by a string type.
10581058This defines three procedures overloading the intrinsic ` operator(>) `
@@ -1106,10 +1106,10 @@ end program demo
11061106<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
11071107### Comparison operator less
11081108
1109- Compare the order of two character sequences being less.
1110-
11111109#### Description
11121110
1111+ Compare the order of two character sequences being less.
1112+
11131113The left-hand side, the right-hand side or both character sequences can
11141114be represented by a string type.
11151115This defines three procedures overloading the intrinsic ` operator(<) `
@@ -1163,10 +1163,10 @@ end program demo
11631163<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
11641164### Comparison operator greater or equal
11651165
1166- Compare the order of two character sequences being greater or equal.
1167-
11681166#### Description
11691167
1168+ Compare the order of two character sequences being greater or equal.
1169+
11701170The left-hand side, the right-hand side or both character sequences can
11711171be represented by a string type.
11721172This defines three procedures overloading the intrinsic ` operator(>=) `
@@ -1220,10 +1220,10 @@ end program demo
12201220<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
12211221### Comparison operator less or equal
12221222
1223- Compare the order of two character sequences being less or equal.
1224-
12251223#### Description
12261224
1225+ Compare the order of two character sequences being less or equal.
1226+
12271227The left-hand side, the right-hand side or both character sequences can
12281228be represented by a string type.
12291229This defines three procedures overloading the intrinsic ` operator(<=) `
@@ -1277,10 +1277,10 @@ end program demo
12771277<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
12781278### Comparison operator equal
12791279
1280- Compare two character sequences for equality.
1281-
12821280#### Description
12831281
1282+ Compare two character sequences for equality.
1283+
12841284The left-hand side, the right-hand side or both character sequences can
12851285be represented by a string type.
12861286This defines three procedures overloading the intrinsic ` operator(==) `
@@ -1334,10 +1334,10 @@ end program demo
13341334<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
13351335### Comparison operator not equal
13361336
1337- Compare two character sequences for inequality.
1338-
13391337#### Description
13401338
1339+ Compare two character sequences for inequality.
1340+
13411341The left-hand side, the right-hand side or both character sequences can
13421342be represented by a string type.
13431343This defines three procedures overloading the intrinsic ` operator(/=) `
@@ -1391,10 +1391,10 @@ end program demo
13911391<!-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -->
13921392### Concatenation operator
13931393
1394- Concatenate two character sequences.
1395-
13961394#### Description
13971395
1396+ Concatenate two character sequences.
1397+
13981398The left-hand side, the right-hand side or both character sequences can
13991399be represented by a string type.
14001400This defines three procedures overloading the intrinsic ` operator(//) ` .
0 commit comments