# space() function

The space() function generates a string
of spaces of a length equal to the value of the numeric expression.

## Syntax

```
space(num.exp)
```

## Parameter(s)

| num.exp | Specifies the number of spaces in the generated string. |
| --- | --- |

## Example(s)

```
crt "name" : space(22) : "phone number"
```

## See also

- [BASIC functions](https://d3codex.com/pickbasic-flashbasic/basic-functions/)
- [Masking](https://d3codex.com/pickbasic-flashbasic/masking/)
- [Numeric expressions](https://d3codex.com/pickbasic-flashbasic/numeric-expressions/)
- [Statements and functions](https://d3codex.com/pickbasic-flashbasic/statements-and-functions/)
- [str() function](https://d3codex.com/pickbasic-flashbasic/str-function/)

---
Source: https://d3codex.com/pickbasic-flashbasic/space-function/ - part of the D3Codex reference.
