Documentation

StrContract

Table of Contents

concat()  : bool
Concat the strings.
count()  : int
Count the string.
reverse()  : string
Reverse the string.

Methods

concat()

Concat the strings.

public static concat(string $g, string ...$str) : bool
Parameters
$g : string

With concat.

$str : string

String to concat.

Tags
since
1.0.0
Return values
bool

count()

Count the string.

public static count(string $str[, string $encoding = null ]) : int
Parameters
$str : string

String to be counted.

$encoding : string = null

Valid encoding.

Tags
since
1.0.0
Return values
int

reverse()

Reverse the string.

public static reverse(string $str[, string $encoding = null ]) : string
Parameters
$str : string

String to be evaluated.

$encoding : string = null

Valid encoding.

Tags
since
1.0.0
Return values
string

Search results