mirror of
https://github.com/danielstjules/Stringy.git
synced 2025-08-12 08:14:06 +02:00
Added isHexadecimal to Readme
This commit is contained in:
14
README.md
14
README.md
@@ -23,6 +23,7 @@ A PHP library with a variety of string manipulation functions with multibyte sup
|
|||||||
* [isAlpha](#isalpha)
|
* [isAlpha](#isalpha)
|
||||||
* [isAlphanumeric](#isalphanumeric)
|
* [isAlphanumeric](#isalphanumeric)
|
||||||
* [isBlank](#isblank)
|
* [isBlank](#isblank)
|
||||||
|
* [isHexadecimal](#ishexadecimal)
|
||||||
* [isLowerCase](#islowercase)
|
* [isLowerCase](#islowercase)
|
||||||
* [isUpperCase](#isuppercase)
|
* [isUpperCase](#isuppercase)
|
||||||
* [last](#last)
|
* [last](#last)
|
||||||
@@ -337,6 +338,19 @@ S::create("\n\t \v\f")->isBlank();
|
|||||||
S::isBlank("\n\t \v\f"); // true
|
S::isBlank("\n\t \v\f"); // true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### isHexadecimal
|
||||||
|
|
||||||
|
$stringy->isHexadecimal()
|
||||||
|
|
||||||
|
S::isHexadecimal(string $str [, string $encoding ])
|
||||||
|
|
||||||
|
Returns true if the string contains only hexadecimal chars, false otherwise.
|
||||||
|
|
||||||
|
```php
|
||||||
|
S::create('A102F')->isHexadecimal();
|
||||||
|
S::isHexadecimal('A102F'); // true
|
||||||
|
```
|
||||||
|
|
||||||
#### isLowerCase
|
#### isLowerCase
|
||||||
|
|
||||||
$stringy->isLowerCase()
|
$stringy->isLowerCase()
|
||||||
|
Reference in New Issue
Block a user