{"id":6820,"date":"2022-12-20T19:33:41","date_gmt":"2022-12-20T22:33:41","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/xstring-man3\/"},"modified":"2022-12-20T19:33:41","modified_gmt":"2022-12-20T22:33:41","slug":"xstring-man3","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/xstring-man3\/","title":{"rendered":"XString (man3)"},"content":{"rendered":"<h1 align=\"center\">XString<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#VERSION\">VERSION<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#FUNCTIONS\">FUNCTIONS<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a><br \/> <a href=\"#COPYRIGHT AND LICENSE\">COPYRIGHT AND LICENSE<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">XString \u2212 Isolated String helpers from B<\/p>\n<h2>VERSION <a name=\"VERSION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">version 0.005<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">#!perl <br \/> use strict; <br \/> use warnings; <br \/> use Test::More; <br \/> use XString; <br \/> use B; <br \/> is XString::cstring( q[a&#8217;string&#8221;with quotes] ), B::cstring( q[a&#8217;string&#8221;with quotes] ), q[&#8220;a&#8217;string&#8221;with quotes&#8221;]; <br \/> is XString::perlstring( q[a&#8217;string&#8221;with quotes] ), B::perlstring( q[a&#8217;string&#8221;with quotes] ), q[&#8220;a&#8217;string&#8221;with quotes&#8221;]; <br \/> done_testing;<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">XString provides the B string helpers in one isolated package. Right now only cstring and perlstring are available.<\/p>\n<h2>FUNCTIONS <a name=\"FUNCTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>cstring( <small>STR<\/small> )<\/b> <br \/> Similar to B::cstring; Returns a double-quote-surrounded escaped version of <small>STR<\/small> which can be used as a string in C source code.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>perlstring( <small>STR<\/small> )<\/b> <br \/> Similar to B::perlstring; Returns a double-quote-surrounded escaped version of <small>STR<\/small> which can be used as a string in Perl source code.<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Nicolas R <atoomic@cpan.org><\/p>\n<h2>COPYRIGHT AND LICENSE <a name=\"COPYRIGHT AND LICENSE\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This software is copyright (c) 2018 by cPanel, Inc.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This is free software; you can redistribute it and\/or modify it under the same terms as the Perl 5 programming language system itself.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  XString \u2212 Isolated String helpers from B <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[3007,3187],"class_list":["post-6820","post","type-post","status-publish","format-standard","hentry","category-sin-categoria","tag-man3","tag-xstring"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=6820"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/6820\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=6820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=6820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=6820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}