{"id":3781,"date":"2016-04-05T09:53:02","date_gmt":"2016-04-05T01:53:02","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=3781"},"modified":"2016-04-05T09:53:02","modified_gmt":"2016-04-05T01:53:02","slug":"qstring-qstring-%e4%b8%ad%e9%82%a3%e4%ba%9b%e4%b8%8e%e5%ad%97%e7%ac%a6%e4%b8%b2%e8%a7%a3%e6%9e%90%e7%9b%b8%e5%85%b3%e7%9a%84%e5%87%bd%e6%95%b0","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=3781","title":{"rendered":"[QString] QString \u4e2d\u90a3\u4e9b\u4e0e\u5b57\u7b26\u4e32\u89e3\u6790\u76f8\u5173\u7684\u51fd\u6570"},"content":{"rendered":"<p>QString \u63d0\u4f9b\u4e86\u5f88\u591a\u4e0e\u5b57\u7b26\u4e32\u76f8\u5173\u7684\u51fd\u6570\u6765\u7b80\u5316\u5b57\u7b26\u4e32\u7684\u89e3\u6790\uff0c\u4e0d\u4f7f\u7528\u8fd9\u4e9b\u51fd\u6570\u5f53\u7136\u4e5f\u53ef\u4ee5\u89e3\u6790\u5b57\u7b26\u4e32\uff0c\u8fd9\u4e9b\u51fd\u6570\u53ea\u662f\u7b80\u5316\u5b57\u7b26\u4e32\u89e3\u6790\u65f6\u7684\u4ee3\u7801\uff1a<\/p>\n<ul>\n<li>DecodeToken<br \/>\nDecodeToken \u6309\u6307\u5b9a\u7684\u5206\u9694\u7b26\u6765\u89e3\u6790\u51fa\u7b2c\u4e00\u4e2a\u5b57\u7b26\u4e32\uff0c\u5206\u9694\u7b26\u53ef\u4ee5\u6709\u591a\u79cd\u3002<\/li>\n<li>SplitToken<br \/>\nSplitToken \u6309\u6307\u5b9a\u7684\u5206\u9694\u7b26\u5206\u89e3\u6240\u6709\u7684\u5b57\u7b26\u4e32\u5185\u5bb9\uff0c\u5e76\u5c06\u5206\u89e3\u7684\u7ed3\u679c\u52a0\u5230\u4e00\u4e2a TStrings \u7684\u5b9e\u4f8b\u4e2d\u3002<\/li>\n<li>StrBefore<br \/>\nStrBefore \u51fd\u6570\u7528\u4e8e\u89e3\u6790\u5728\u6307\u5b9a\u7684\u5b50\u5b57\u7b26\u4e32\u51fa\u73b0\u4e4b\u524d\u7684\u5b57\u7b26\u4e32\u3002<\/li>\n<li>SplitByStr<br \/>\nSplitByStr \u51fd\u6570\u7528\u4e8e\u5c06\u4e00\u4e2a\u5b57\u7b26\u4e32\u6309 StrBefore \u51fd\u6570\u8981\u6c42\u89e3\u6790\u7684\u7ed3\u679c\uff0c\u653e\u5230\u4e00\u4e2a TStrings \u5b9e\u4f8b\u4e2d\u3002<\/li>\n<li>LeftStr<br \/>\n\u53d6\u5de6\u8fb9\u6307\u5b9a\u6570\u91cf\u5b57\u7b26\u505a\u4e3a\u7ed3\u679c<\/li>\n<li>RightStr<br \/>\n\u53d6\u53f3\u8fb9\u6307\u5b9a\u6570\u91cf\u5b57\u7b26\u505a\u4e3a\u7ed3\u679c<\/li>\n<li>StrBetween<br \/>\n\u8fd4\u56de\u4e24\u4e2a\u5b57\u7b26\u4e32\u4e2d\u95f4\u7684\u5185\u5bb9<\/li>\n<li>TokenWithIndex<br \/>\n\u4f7f\u7528 DecodeToken \u89e3\u6790\u6307\u5b9a\u7684\u5b57\u7b26\u4e32\uff0c\u5e76\u8fd4\u56de\u5176\u4e2d\u6307\u5b9a\u7d22\u5f15\u7684\u5b50\u4e32<\/li>\n<li>DecodeLine<br \/>\n\u89e3\u6790\u4e00\u884c<\/li>\n<li>FilterCharW<br \/>\n\u8fc7\u6ee4\u6389\u5b57\u7b26\u4e32\u4e2d\u4e0d\u9700\u8981\u7684\u5b57\u7b26<\/li>\n<li>SkipUntil<br \/>\n\u5728\u9047\u5230\u6307\u5b9a\u7684\u5b57\u7b26\u524d\uff0c\u4e00\u76f4\u8df3\u8fc7<\/li>\n<li>SkipChar<br \/>\n\u8df3\u8fc7\u6307\u5b9a\u7684\u5217\u8868\u4e2d\u7684\u5b57\u7b26<\/li>\n<li>SkipSpace<br \/>\n\u8df3\u8fc7\u7a7a\u767d\u7684\u5b57\u7b26<\/li>\n<li>SkipLine<br \/>\n\u8df3\u8fc7\u4e00\u884c<\/li>\n<li>StrPos<br \/>\n\u627e\u5230\u6307\u5b9a\u7684\u5b57\u7b26\u4e32\u7684\u8d77\u59cb\u4f4d\u7f6e<\/li>\n<li>StartWith<br \/>\n\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4ee5\u6307\u5b9a\u7684\u5b57\u7b26\u4e32\u5f00\u59cb<\/li>\n<li>EndWith<br \/>\n\u5224\u65ad\u5b57\u7b26\u4e32\u662f\u5426\u4ee5\u6307\u5b9a\u7684\u5b57\u7b26\u4e32\u7ed3\u5c3e<\/li>\n<li>NameOf<br \/>\n\u8fd4\u56de\u4ee5\u6307\u5b9a\u7684\u5b57\u7b26\u5206\u9694\u7684\u540d\u79f0-\u503c\u5bf9\u7684\u540d\u79f0\u90e8\u5206<\/li>\n<li>ValueOf<br \/>\n\u8fd4\u56de\u4ee5\u6307\u5b9a\u7684\u5b57\u7b26\u5206\u9694\u7684\u540d\u79f0-\u503c\u5bf9\u7684\u503c\u90e8\u5206<\/li>\n<li>ParseInt<br \/>\n\u89e3\u6790\u5b57\u7b26\u4e32\u4e2d\u7684\u6574\u6570\u90e8\u5206<\/li>\n<li>ParseHex<br \/>\n\u89e3\u6790\u5b57\u7b26\u4e32\u4e2d\u768416\u8fdb\u5236\u6574\u6570\u90e8\u5206<\/li>\n<li>ParseNumeric<br \/>\n\u89e3\u6790\u5b57\u7b26\u4e32\u4e2d\u7684\u6570\u503c\u90e8\u5206<\/li>\n<li>ParseDateTime<br \/>\n\u6309\u7167yyyy-mm-dd hh:nn:ss.zzz \u683c\u5f0f\u89e3\u6790\u65e5\u671f\u65f6\u95f4\u4e32<\/li>\n<li>ParseWebTime<br \/>\n\u6309\u7167HTTP\u534f\u8bae\u7ea6\u5b9a\u7684 Unix \u65f6\u95f4\u6233\u683c\u5f0f\u89e3\u6790\u65e5\u671f\u65f6\u95f4\u4e32<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>QString \u63d0\u4f9b\u4e86\u5f88\u591a\u4e0e\u5b57\u7b26\u4e32\u76f8\u5173\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[145,69,8,9],"tags":[484,25,78],"class_list":["post-3781","post","type-post","status-publish","format-standard","hentry","category-android","category-c-builder","category-delphi","category-qdac","tag-qstring","tag-25","tag-78"],"views":6144,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3781","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3781"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3781\/revisions"}],"predecessor-version":[{"id":3782,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3781\/revisions\/3782"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3781"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3781"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3781"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}