class StringInspect

Class StringInspect.

Methods

static  null|int
searchPositionFromLeft( string $string, string $needle)

No description

static  null|int
searchPositionFromRight( string $string, string $needle)

No description

static  null|int
searchPosition( string $string, string $needle, bool $fromRight = false)

No description

static  bool
contains( string $string, string $search)

No description

Details

at line line 26
final static null|int searchPositionFromLeft( string $string, string $needle)

Parameters

string $string
string $needle

Return Value

null|int

at line line 37
final static null|int searchPositionFromRight( string $string, string $needle)

Parameters

string $string
string $needle

Return Value

null|int

at line line 49
final static null|int searchPosition( string $string, string $needle, bool $fromRight = false)

Parameters

string $string
string $needle
bool $fromRight

Return Value

null|int

at line line 76
final static bool contains( string $string, string $search)

Parameters

string $string
string $search

Return Value

bool