Substr
in package
implements
iTransformation
Returns value's substring
Tags
Table of Contents
Interfaces
- iTransformation
- An interface for dissemination services parameters transformation
Methods
- getName() : string
- Returns transformation name
- transform() : string
- Returns substring of a given value by simply calling substr().
Methods
getName()
Returns transformation name
public
getName() : string
Return values
stringtransform()
Returns substring of a given value by simply calling substr().
public
transform(string $value[, int $start = 0 ][, int|null $length = null ]) : string
Parameters
- $value : string
-
value to be transformed
- $start : int = 0
-
index of the first character to be returned
- $length : int|null = null
-
returned value length