<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Follow-up on this:<div class=""><br class=""></div><div class="">The StaticString solution doesn’t work:</div><div class=""><br class=""></div><div class=""><blockquote class="" style="margin: 0px 0px 0px 40px; border: none; padding: 0px;"><div dir="auto" applecontenteditable="true" class="" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="">let separator: StaticString = “|”</div><div class="">opt.fieldSep = UnsafeMutablePointer(mutating: separator.utf8start)</div><div class=""><br class=""></div></div></blockquote></div><div class="">… because utf8start returns UnsafePointer<UInt8>, and fieldSep is actually UnsafeMutablePointer<Int8>. There doesn’t seem to be any way to convert UnsafePointer<Unit8> to UnsafePointer<Int8>.</div><div class=""><br class=""></div><div class="">cString(using:) works because it returns [CChar], which is the same as Int8.</div><div class=""><br class=""></div><div class="">-Kenny</div><div class=""><br class=""></div></body></html>