Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkomarev authored Jan 8, 2024
1 parent 553aeaa commit 9e53d25
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ composer require cybercog/php-unicode
### Instantiate Unicode String

```php
$compositeCharacter = \Cog\Unicode\UnicodeString::of('Hello');
$string = \Cog\Unicode\UnicodeString::of('Hello');
```

`UnicodeString` object will contain a list of Unicode characters.
Expand All @@ -38,9 +38,9 @@ For example, the Unicode string "Hello" is represented by the code points:
### Represent Unicode String

```php
$compositeCharacter = \Cog\Unicode\UnicodeString::of('Hello');
$string = \Cog\Unicode\UnicodeString::of('Hello');

echo strval($compositeCharacter); // (string) "Hello"
echo strval($string); // (string) "Hello"
```

### Instantiate Unicode Character
Expand Down

0 comments on commit 9e53d25

Please sign in to comment.