---
title: "delimiter(for:)"
framework: contacts
role: symbol
role_heading: Type Method
path: "contacts/cncontactformatter/delimiter(for:)"
---

# delimiter(for:)

Returns the delimiter to use between name components.

## Declaration

```swift
class func delimiter(for contact: CNContact) -> String
```

## Parameters

- `contact`: The contact whose name is to be formatted.

## Return Value

Return Value The delimiter to use between name components. Discussion If contact is nil, or if it has no first name, middle name, or last name, this method returns an empty string.

## See Also

### Getting format information

- [nameOrder(for:)](contacts/cncontactformatter/nameorder(for:).md)
- [CNContactDisplayNameOrder](contacts/cncontactdisplaynameorder.md)
