---
title: "left(columns:)"
framework: os
role: symbol
role_heading: Type Method
path: "os/oslogstringalignment/left(columns:)"
---

# left(columns:)

Aligns the value on the left side of a column with the specified width.

## Declaration

```swift
static func left(columns: @autoclosure @escaping () -> Int) -> OSLogStringAlignment
```

## Parameters

- `columns`: The width of the item in characters.

## Return Value

Return Value A string-alignment structure with the specified value.

## See Also

### Getting a Custom String Alignment

- [right(columns:)](os/oslogstringalignment/right(columns:).md)
