---
title: "skipBack(by:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/utf8span/characteriterator/skipback(by:)"
---

# skipBack(by:)

Move currentCodeUnitOffset to the start of the previous n Characters, without constructing them.

## Declaration

```swift
mutating func skipBack(by n: Int) -> Int
```

## Discussion

Discussion Returns the number of Characters skipped over, which can be fewer than n if at the start of the UTF8Span.
