โ† Bloomberg questions

Find first occurrence of a sub-string in a string

Filed under Bloomberg

The question

Find the first occurrence of a substring in a given string and return its index if present.

No write-up yet. Related questions below have one.

Related Bloomberg questions

Collected from public candidate posts and coding forums. Updated Nov 2026.