julia 1.10.10AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. Examples contains. source occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is contains(haystack::AbstractString, needle) Return true if haystack contains needle. This is the same as occursin(needle, haystack), but is provided for consistency with startswith(haystack, needle) and0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.10.9AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. Examples contains. source occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is contains(haystack::AbstractString, needle) Return true if haystack contains needle. This is the same as occursin(needle, haystack), but is provided for consistency with startswith(haystack, needle) and0 码力 | 1692 页 | 6.34 MB | 3 月前3
Julia 1.11.4AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. Examples contains. source occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is contains(haystack::AbstractString, needle) Return true if haystack contains needle. This is the same as occursin(needle, haystack), but is provided for consistency with startswith(haystack, needle) and0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.5 DocumentationAbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. Examples contains. source occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is contains(haystack::AbstractString, needle) Return true if haystack contains needle. This is the same as occursin(needle, haystack), but is provided for consistency with startswith(haystack, needle) and0 码力 | 2007 页 | 6.73 MB | 3 月前3
Julia 1.11.6 Release NotesAbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. Examples contains. source occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is contains(haystack::AbstractString, needle) Return true if haystack contains needle. This is the same as occursin(needle, haystack), but is provided for consistency with startswith(haystack, needle) and0 码力 | 2007 页 | 6.73 MB | 3 月前3
julia 1.13.0 DEVoccursin – Function. occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. Examples equivalent to haystack -> contains(haystack, needle). The returned function is of type Base.Fix2{typeof(contains)}, which can be used to implement specialized methods. source contains(haystack::AbstractString0 码力 | 2058 页 | 7.45 MB | 3 月前3
Julia 1.12.0 RC1occursin – Function. occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. ExamplesCHAPTER equivalent to haystack -> contains(haystack, needle). The returned function is of type Base.Fix2{typeof(contains)}, which can be used to implement specialized methods. source contains(haystack::AbstractString0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta4occursin – Function. occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. ExamplesCHAPTER equivalent to haystack -> contains(haystack, needle). The returned function is of type Base.Fix2{typeof(contains)}, which can be used to implement specialized methods. source contains(haystack::AbstractString0 码力 | 2057 页 | 7.44 MB | 3 月前3
Julia 1.12.0 Beta3occursin – Function. occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. ExamplesCHAPTER equivalent to haystack -> contains(haystack, needle). The returned function is of type Base.Fix2{typeof(contains)}, which can be used to implement specialized methods. source contains(haystack::AbstractString0 码力 | 2057 页 | 7.44 MB | 3 月前3
julia 1.12.0 beta1occursin – Function. occursin(haystack) Create a function that checks whether its argument occurs in haystack, i.e. a function equivalent to needle -> occursin(needle, haystack). The returned function is AbstractPattern,AbstractChar}, haystack::AbstractString) �→ Determine whether the first argument is a substring of the second. If needle is a regular expression, checks whether haystack contains a match. ExamplesCHAPTER equivalent to haystack -> contains(haystack, needle). The returned function is of type Base.Fix2{typeof(contains)}, which can be used to implement specialized methods. source contains(haystack::AbstractString0 码力 | 2047 页 | 7.41 MB | 3 月前3
共 10 条
- 1













