{"id":280,"date":"2010-06-18T00:02:02","date_gmt":"2010-06-18T04:02:02","guid":{"rendered":"https:\/\/www.caskeys.com\/dc\/?p=280"},"modified":"2017-01-15T23:16:31","modified_gmt":"2017-01-16T04:16:31","slug":"string-path","status":"publish","type":"post","link":"https:\/\/www.caskeys.com\/dc\/string-path\/","title":{"rendered":"String &#038; Path"},"content":{"rendered":"<p>Encountered an issue with using default model name as path filler and once again attempted to find method for extracting model path at run time.<\/p>\n<p>Due to limited string functions I recoded my own path return feature to exclude base name. Unfortunately this resulted in inconsistent returns. Path would be occasionally substituted with numbers or gibberish.<\/p>\n<p>I think best solution is to restore path feature to previous functionality and add more robust string handling to OpenBOR. The <em>*strrchr( const char *s,\u00a0 int c)<\/em> function in particular is a crippling omission that needs to be addressed.<\/p>\n<p>C&#8217;s string functionally in general is really starting to get on my nerves. For such a common and powerful language, you would think simple string manipulation wouldn&#8217;t require so much hoop jumping and coding overhead.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Attempts to extract current path of a model text file.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":true,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[71],"tags":[232],"class_list":["post-280","post","type-post","status-publish","format-standard","hentry","category-technology-temerity","tag-applications-openbor"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p5lNM5-4w","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/posts\/280","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/comments?post=280"}],"version-history":[{"count":4,"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/posts\/280\/revisions"}],"predecessor-version":[{"id":6237,"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/posts\/280\/revisions\/6237"}],"wp:attachment":[{"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/media?parent=280"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/categories?post=280"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.caskeys.com\/dc\/wp-json\/wp\/v2\/tags?post=280"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}