## String::FromAscii(const char *) method


Crée [String](../) à partir d'une chaîne ASCII.

```cpp
static String System::String::FromAscii(const char *asciiStr)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| asciiStr | const char * | Pointeur vers une chaîne terminée par nul encodée en utilisant la page de code ASCII. |

### ReturnValue

[String](../) object representing passed string.

## Voir aussi

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## String::FromAscii(const char *, int) method


Crée [String](../) à partir d'une chaîne ASCII.

```cpp
static String System::String::FromAscii(const char *asciiStr, int len)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| asciiStr | const char * | Pointeur vers une chaîne encodée en utilisant la page de code ASCII. |
| len | int | Nombre de caractères à traiter. |

### ReturnValue

[String](../) object representing passed string.

## Voir aussi

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## String::FromAscii(const std::string\&) method


Crée [String](../) à partir d'une chaîne ASCII.

```cpp
static String System::String::FromAscii(const std::string &asciiStr)
```


| Paramètre | Type | Description |
| --- | --- | --- |
| asciiStr | const std::string\& | Chaîne encodée en ASCII. |

### ReturnValue

[String](../) object representing passed string.

## Voir aussi

* Class [String](../)
* Class [String](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
