<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi guys,<div class=""><br class=""></div><div class="">I'm working on extending format string validation, and I was going through the FormatStringLiteral -> StringLiteral -> StringRef </div><div class=""><br class=""></div><div class="">and I'm just wondering what the following functions mean?</div><div class=""><br class=""></div><div class="">strLen()</div><div class=""><br class=""></div><div class="">getLengthInBytes()</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><b class="">getLength()</b></div></div><div class=""><br class=""></div><div class="">size()</div><div class=""><br class=""></div><div class="">What do these functions return?</div><div class=""><br class=""></div><div class="">How do I get the size of a string in CodeUnits or CodePoints?</div><div class=""><br class=""></div><div class=""><br class=""></div></body></html>