Skip to content

Commit 4111d49

Browse files
committed
index
1 parent 1471f24 commit 4111d49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/fsharp/System/String/IndexOfAny/IndexOfAny1.fs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module IndexOfAny1.fs
33
let chars = [| 'a'; 'e'; 'i'; 'o'; 'u'; 'y'
44
'A'; 'E'; 'I'; 'O'; 'U'; 'Y' |]
55
let s = "The long and winding road..."
6-
printfn $"The first vowel in \n {s}\nis found at position {s.IndexOfAny chars}"
6+
printfn $"The first vowel in \n {s}\nis found at index {s.IndexOfAny chars}"
77

88
// The example displays the following output:
99
// The first vowel in

0 commit comments

Comments
 (0)