Objo.
Feedback Forum Docs Objo Studio
Feedback

Bug #189

String.IndexOf(value, caseSensitive) overload is missing

Status
Fixed
Fixed in
v26.5.6
Source discussion
https://forum.objo.dev/d/117-indexofs-doesnt-take-an-optional-boolean
Last updated
2026-05-24

Public summary

String.IndexOf(value) is case-insensitive by default, and related string search APIs allow callers to pass a Boolean caseSensitive argument without also passing a start index. String.IndexOf(value, caseSensitive) currently fails because the only two-argument overload expects startIndex As Integer. Users must write IndexOf(value, 0, caseSensitive) as a workaround.

Expected behaviour: IndexOf(value, True) should perform a case-sensitive search from index 0, while IndexOf(value, False) should preserve the current case-insensitive behaviour.

Objo.

Build apps visually, deploy anywhere.

Feedback is a public read-only status mirror for Objo Studio.