Stream: beginners

Topic: Str.contains


view this post on Zulip Fabian Schmalzried (Oct 12 2023 at 15:03):

I could not find a Str.contains. Is there a reason for this?

view this post on Zulip Brendan Hansknecht (Oct 12 2023 at 17:32):

Probably not. I guess no one ever implemented it.

view this post on Zulip Brendan Hansknecht (Oct 12 2023 at 17:33):

Crazy that we have missed something so primitive until now.

view this post on Zulip Brian Carroll (Oct 12 2023 at 18:37):

I don't think so. You could use splitFirst as a workaround but we should probably implement it

view this post on Zulip Anton (Oct 13 2023 at 08:23):

I made "good first issue" #5900 for it.


Last updated: Jul 06 2025 at 12:14 UTC