---
layout: "default"
title: "String.CharacterView"
description: "Swift documentation for 'String.CharacterView': A String&#39;s collection of Characters (extended grapheme
clusters)
elements."
keywords: "String.CharacterView,struct,swift,documentation,append,appendContentsOf,contains,dropFirst,dropFirst,dropLast,dropLast,elementsEqual,elementsEqual,enumerate,filter,flatMap,flatMap,forEach,generate,indexOf,insert,insertContentsOf,lexicographicalCompare,lexicographicalCompare,map,maxElement,maxElement,minEle