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
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
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.