How to find the right function in the Phobos library?

monkyyy crazymonkyyy at gmail.com
Sat Aug 17 06:25:03 UTC 2024


On Saturday, 17 August 2024 at 06:11:58 UTC, Bruce wrote:
> On Saturday, 17 August 2024 at 05:42:42 UTC, monkyyy wrote:
>> On Saturday, 17 August 2024 at 05:28:37 UTC, Bruce wrote:
>>
>> It's the correct name for the wrong function
>
> Are you saying this is wrong?
> auto i = arr.countUntil("ha");

yes

```d
import std;
void main(){
	string arr="🦶🔫 hello world ha";
     arr[arr.countUntil("ha")..$].writeln;
}
```


More information about the Digitalmars-d-learn mailing list