Skip to content

std::String::find_sub<T>

find_sub<T>

Finds the first occurrence of needle in haystack

Template Parameters

  • T

Signature

fn <T> fn find_sub(haystack: const *T, needle: const *T) -> *T?;

Specifiers

  • constexpr
  • inline