# `sWriteStringEscape`

*Function*

## Declaration

```swift
func sWriteStringEscape(_ buffer: UnsafeMutablePointer<CChar>, _ maxLength: Int, _ value: String, _ escape: Bool) -> Int
```

```objc
size_t sWriteStringEscape(char *buffer, size_t maxLength, NSString *value, BOOL escape);
```

```python
sWriteStringEscape(buffer: str, maxLength: int, value: str, escape: bool) -> int
```

## See Also

### Keys and Strings

- [`writeKey`](/Core/GlyphsCore/writeKey)
- [`writeKeyString`](/Core/GlyphsCore/writeKeyString)
- [`sWriteKey`](/Core/GlyphsCore/sWriteKey)
- [`writeStringEscape`](/Core/GlyphsCore/writeStringEscape)
- [`writeKeyValueString`](/Core/GlyphsCore/writeKeyValueString)
- [`writeKeyValueStringEscape`](/Core/GlyphsCore/writeKeyValueStringEscape)
- [`writeKeyValueStringSimple`](/Core/GlyphsCore/writeKeyValueStringSimple)

