1862. Class

1862.1. Zend\Stdlib\StringWrapper\Native

1862.1.1. Methods

1862.1.1.1. isSupported

isSupported()

Check if the given character encoding is supported by this wrapper and the character encoding to convert to is also supported.

Parameters:
  • string
  • string|null

1862.1.1.2. getSupportedEncodings

getSupportedEncodings()

Get a list of supported character encodings

Return type:string[]

1862.1.1.3. setEncoding

setEncoding()

Set character encoding working with and convert to

Parameters:
  • string – The character encoding to work with
  • string|null – The character encoding to convert to
Return type:

StringWrapperInterface

1862.1.1.4. strlen

strlen()

Returns the length of the given string

Parameters:string
Return type:int|false

1862.1.1.5. substr

substr()

Returns the portion of string specified by the start and length parameters

Parameters:
  • string
  • int
  • int|null
Return type:

string|false

1862.1.1.6. strpos

strpos()

Find the position of the first occurrence of a substring in a string

Parameters:
  • string
  • string
  • int
Return type:

int|false

Project Versions

Table Of Contents

Previous topic

1861. Class

Next topic

1863. Function

This Page