diff options
Diffstat (limited to 'libphobos/src/std/string.d')
-rw-r--r-- | libphobos/src/std/string.d | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libphobos/src/std/string.d b/libphobos/src/std/string.d index 420b68a..5c9a2c9 100644 --- a/libphobos/src/std/string.d +++ b/libphobos/src/std/string.d @@ -1759,8 +1759,8 @@ if (isSomeChar!Char && isSomeChar!Char2) haystack = String to search for needles in. needles = Strings to search for in haystack. startIdx = slices haystack like this $(D haystack[startIdx .. $]). If - the startIdx is greater equal the length of haystack the functions - returns `-1`. + the startIdx is greater than or equal to the length of haystack the + functions returns `-1`. cs = Indicates whether the comparisons are case sensitive. */ ptrdiff_t indexOfAny(Char,Char2)(const(Char)[] haystack, const(Char2)[] needles, @@ -1926,8 +1926,8 @@ if (isSomeChar!Char && isSomeChar!Char2) haystack = String to search for needles in. needles = Strings to search for in haystack. stopIdx = slices haystack like this $(D haystack[0 .. stopIdx]). If - the stopIdx is greater equal the length of haystack the functions - returns `-1`. + the stopIdx is greater than or equal to the length of haystack the + functions returns `-1`. cs = Indicates whether the comparisons are case sensitive. */ ptrdiff_t lastIndexOfAny(Char,Char2)(const(Char)[] haystack, @@ -2105,8 +2105,8 @@ if (isSomeChar!Char && isSomeChar!Char2) haystack = String to search for needles in. needles = Strings to search for in haystack. startIdx = slices haystack like this $(D haystack[startIdx .. $]). If - the startIdx is greater equal the length of haystack the functions - returns `-1`. + the startIdx is greater than or equal to the length of haystack the + functions returns `-1`. cs = Indicates whether the comparisons are case sensitive. */ ptrdiff_t indexOfNeither(Char,Char2)(const(Char)[] haystack, @@ -2265,8 +2265,8 @@ if (isSomeChar!Char && isSomeChar!Char2) haystack = String to search for needles in. needles = Strings to search for in haystack. stopIdx = slices haystack like this $(D haystack[0 .. stopIdx]) If - the stopIdx is greater equal the length of haystack the functions - returns `-1`. + the stopIdx is greater than or equal to the length of haystack the + functions returns `-1`. cs = Indicates whether the comparisons are case sensitive. */ ptrdiff_t lastIndexOfNeither(Char,Char2)(const(Char)[] haystack, |