1
0
mirror of https://github.com/danielstjules/Stringy.git synced 2025-08-11 15:54:04 +02:00

Added isHexadecimal to Readme

This commit is contained in:
Daniel St. Jules
2013-08-23 01:08:31 -04:00
parent 89c292c041
commit 454e8e2f87

View File

@@ -23,6 +23,7 @@ A PHP library with a variety of string manipulation functions with multibyte sup
* [isAlpha](#isalpha)
* [isAlphanumeric](#isalphanumeric)
* [isBlank](#isblank)
* [isHexadecimal](#ishexadecimal)
* [isLowerCase](#islowercase)
* [isUpperCase](#isuppercase)
* [last](#last)
@@ -337,6 +338,19 @@ S::create("\n\t \v\f")->isBlank();
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
$stringy->isLowerCase()