File_Utilities module

path_contains

procedure · 1 overloadSource

Whether the names words appear next to each other, in that order, among the words of path; and where the first match starts.

path_contains :: (
    path: Path,
    words: [] string
) -> (contains: bool, position: s32)

The position is 0 when there is no match. An empty words matches at position 0. Names are compared exactly, byte for byte, also on Windows.

Parameters

path: Path
words: [] string

Returns

contains: bool
position: s32

See also