We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1471f24 commit 4111d49Copy full SHA for 4111d49
snippets/fsharp/System/String/IndexOfAny/IndexOfAny1.fs
@@ -3,7 +3,7 @@ module IndexOfAny1.fs
3
let chars = [| 'a'; 'e'; 'i'; 'o'; 'u'; 'y'
4
'A'; 'E'; 'I'; 'O'; 'U'; 'Y' |]
5
let s = "The long and winding road..."
6
-printfn $"The first vowel in \n {s}\nis found at position {s.IndexOfAny chars}"
+printfn $"The first vowel in \n {s}\nis found at index {s.IndexOfAny chars}"
7
8
// The example displays the following output:
9
// The first vowel in
0 commit comments