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


Δημιουργεί [String](../) από ASCII συμβολοσειρά.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| asciiStr | const char * | Δείκτης σε συμβολοσειρά που τελειώνει με μηδενικό χαρακτήρα κωδικοποιημένη με κωδικοσελίδα ASCII. |

### ReturnValue

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

## Δείτε επίσης

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


Δημιουργεί [String](../) από ASCII συμβολοσειρά.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| asciiStr | const char * | Δείκτης σε συμβολοσειρά κωδικοποιημένη με κωδικοσελίδα ASCII. |
| len | int | Αριθμός χαρακτήρων προς επεξεργασία. |

### ReturnValue

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

## Δείτε επίσης

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


Δημιουργεί [String](../) από ASCII συμβολοσειρά.

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


| Parameter | Type | Περιγραφή |
| --- | --- | --- |
| asciiStr | const std::string\& | Συμβολοσειρά κωδικοποιημένη σε ASCII. |

### ReturnValue

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

## Δείτε επίσης

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