<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "tvOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreFoundation",
  "identifier" : "/documentation/CoreFoundation/CFStringAppendPascalString(_:_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Core Foundation"
    ],
    "preciseIdentifier" : "c:@F@CFStringAppendPascalString"
  },
  "title" : "CFStringAppendPascalString(_:_:_:)"
}
-->

# CFStringAppendPascalString(_:_:_:)

Appends a Pascal string to the character contents of a CFMutableString object.

```
func CFStringAppendPascalString(_ theString: CFMutableString!, _ pStr: ConstStr255Param!, _ encoding: CFStringEncoding)
```

## Parameters

`theString`

The string to which the characters in `pStr` are appended. If this value is not a CFMutableString object, an assertion is raised.

`pStr`

A Pascal string buffer.

`encoding`

The string encoding of the characters in `pStr`.

## Discussion

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)