Jump to content

String matching: Difference between revisions

m
(add bqn)
Line 1,683:
=={{header|Dyalect}}==
 
<lang Dyalect>var value = "abcd".startsWithStartsWith("ab")
value = "abcd".endsWithEndsWith("zn") //returns false
value = "abab".containsContains("bb") //returns false
value = "abab".containsContains("ab") //returns true
var loc = "abab".indexOfIndexOf("bb") //returns -1
loc = "abab".indexOfIndexOf("ab") //returns 0</lang>
 
=={{header|E}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.