---
title: "isAlpha"
canonical: "https://support.appfire.com/space/PSJ/15489200/isAlpha"
format: markdown
---
> Macro (aura-html)


|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | isAlpha(str) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Description

> Macro (excerpt)
> 
> Returns "true" if the provided argument **str** is a string containing only letters.

Returns "true" if the provided argument **str** is a string containing only letters. 

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| str | String | Yes | Specifies a character expression. |

## Return Type

**Boolean (true/false)**

## Examples

### Example 1

```
wret = isAlpha("foobar");
print(wret);
```

Print **true**

### Example 2

```
wret = isAlpha("aaa2345f.ff");
print(wret);
```

Print **false**

### Example 3

```
wret = isAlpha("Once upon a time... !");
print(wret);
```

Print **false**

> ⚠️ IsAlpha returns "false" if the character string **str** contains blanks or special characters.

## See also

> Macro (contentbylabel)