search/src/117d8c9e-3f8d-40ae-b375-1efa2fe5538a/code.power

20 lines
485 B
Plaintext
Raw Normal View History

2023-04-15 15:01:55 +00:00
/**
* Search inside a string
*
* @param string $value The string value
*
* @return string|null The marked string if found, else null
* @since 3.2.0
*/
public function string(string $value): ?string;
/**
* Replace found instances inside string value
*
* @param string $value The string value to update
*
* @return string The updated string
* @since 3.2.0
*/
public function replace(string $value): string;