Skip to content

std::String::find<T>

find<T>

Finds the first occurrence of a character in a C-style string

Template Parameters

  • T

Signature

fn <T> fn find(str: const *T, c: i32) -> *T?;

Specifiers

  • constexpr
  • inline