英[strɪŋ] 美[strɪŋ]

n.String; rope, belt; thread, plant fiber; [Computer Science] String

vt. Winding, tuning; To line up in a line or a series; to tie, tie or hang with a thread; to extend or extend

Third person singular: strings Plural: strings Present participle: stringing Past tense: strung Past participle: strung

php strrpos() function syntax

Function:Find the last position of a character in a string

Syntax:strrpos(string,find,start)

Parameters:

Parameters Description
string Required. Specifies the string to be searched for.
find Required. Specifies the characters to search for.
start Optional. Specifies where to start the search.

Description:Find the last occurrence of a string in another string. The strrpos() function is case-sensitive.

php strrpos() function example


Run instance»

Click the "Run instance" button to view the online instance

Output:

21



Run Instance»

Click the "Run Instance" button to view the online instance

Output:

bool(false)