Skip to content

Commit 5d0024b

Browse files
authored
Update example_padr.f90
1 parent bf00288 commit 5d0024b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/example/strings/example_padr.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
program example_padr
2-
use stdlib_string_type, only: string_type, assignment(=), write (formatted)
2+
use stdlib_string_type, only: string_type, assignment(=), write (unformatted)
33
use stdlib_strings, only: padr
44
implicit none
55
type(string_type) :: string
66

77
string = "right pad this string"
88
! string <-- "right pad this string"
99

10-
print '(a)', padr(string, 25, "$") ! "right pad this string$$$$"
10+
print*, padr(string, 25, "$") ! "right pad this string$$$$"
1111

1212
string = padr(string, 25)
1313
! string <-- "right pad this string "

0 commit comments

Comments
 (0)