{"id":227,"date":"2015-12-09T17:02:37","date_gmt":"2015-12-09T08:02:37","guid":{"rendered":"http:\/\/www.onepage.co.kr\/wordpress\/?p=227"},"modified":"2016-04-01T00:53:58","modified_gmt":"2016-03-31T15:53:58","slug":"if-then-else-end-if","status":"publish","type":"post","link":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/2015\/12\/09\/if-then-else-end-if\/","title":{"rendered":"\uc6f9\uc258\uc5d0\uc11c \ubc30\uc6e0\ub2e4\ub294 \ucf54\ub4dc"},"content":{"rendered":"<fieldset>\n<div><span style=\"color: #0000ff;\">IF<\/span> instr(keyword, &#8220;\\&#8221;)&gt;0 <span style=\"color: #ff0000;\">or<\/span> instr(keyword, &#8220;\/&#8221;)&gt;0 <span style=\"color: #ff0000;\">or<\/span> instr(keyword, &#8220;:&#8221;)&gt;0 <span style=\"color: #ff0000;\">or<\/span> &#8230;. <span style=\"color: #0000ff;\">then<\/span><br \/>\n&#8230;&#8230;..<br \/>\n<span style=\"color: #0000ff;\">End IF<\/span><\/div>\n<\/fieldset>\n<p>\uadf8\ub7f0\ub370 \uc774\ubc88\uc5d0 \ubcf8 \uc6f9\uc258\uc5d0\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ub0b4\uc6a9\uc774 \uc788\uc5c8\uc2b5\ub2c8\ub2e4.<\/p>\n<fieldset>\n<legend>\uc18c\uc2a42<\/legend>\n<div>\n<div>flag = \u00a0instr(keyword, &#8220;\\&#8221;)&gt;0 <span style=\"color: #ff0000;\">or<\/span> instr(keyword, &#8220;\/&#8221;)&gt;0<br \/>\nflag = flag <span style=\"color: #ff0000;\">or<\/span> instr(keyword, &#8220;:&#8221;)&gt;0<br \/>\nflag = flag <span style=\"color: #ff0000;\">or<\/span> instr(keyword, &#8220;|&#8221;)&gt;0<br \/>\n&#8230;.<br \/>\nflag = flag <span style=\"color: #ff0000;\">or<\/span> instr(keyword, &#8220;&amp;&#8221;)&gt;0<br \/>\n<span style=\"color: #0000ff;\">IF<\/span> flag <span style=\"color: #0000ff;\">then<\/span><br \/>\n&#8230;&#8230;..<br \/>\n<span style=\"color: #0000ff;\">End IF<\/span><\/div>\n<\/div>\n<\/fieldset>\n<p>2\ubc88\uc9f8 \uc18c\uc2a4\ub294 flag \ub77c\ub294 \ubcc0\uc218\uc640\u00a0OR \ub77c\ub294 <strong>\ub17c\ub9ac \uc5f0\uc0b0\uc790<\/strong>\ub97c\u00a0\uc774\uc6a9\ud574\uc11c <u>\uc18c\uc2a4\uc218\uc815\uc774 \uc27d\ub3c4\ub85d<\/u> \uc791\uc131\uc774 \ub418\uc5b4 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<fieldset><strong>OR \ub17c\ub9ac \uc5f0\uc0b0\uc790<\/strong> \ub294 \uc785\ub825\uac12\uc774 \ub458\ub2e4 False \uc77c \uacbd\uc6b0 False \ub97c \ubc18\ud658\ud558\uba70, \uadf8\uc678\uc5d0\ub294 True \ub97c \ubc18\ud658\ud569\ub2c8\ub2e4.<\/p>\n<table border=\"1\" cellspacing=\"0\" cellpadding=\"5\">\n<tbody>\n<tr valign=\"top\" bgcolor=\"#dddddd\">\n<td><span style=\"font-size: small;\"><b>\uc785\ub8251 \uac12<\/b><\/span><\/td>\n<td><span style=\"font-size: small;\"><b>\uc785\ub8252 \uac12<\/b><\/span><\/td>\n<td><span style=\"font-size: small;\"><b>\uacb0\uacfc<\/b><\/span><\/td>\n<\/tr>\n<tr valign=\"top\">\n<td><span style=\"font-size: small;\">0<\/span><\/td>\n<td><span style=\"font-size: small;\">0<\/span><\/td>\n<td><span style=\"font-size: small;\">0<\/span><\/td>\n<\/tr>\n<tr valign=\"top\">\n<td><span style=\"font-size: small;\">0<\/span><\/td>\n<td><span style=\"font-size: small;\">1<\/span><\/td>\n<td><span style=\"font-size: small;\">1<\/span><\/td>\n<\/tr>\n<tr valign=\"top\">\n<td><span style=\"font-size: small;\">1<\/span><\/td>\n<td><span style=\"font-size: small;\">0<\/span><\/td>\n<td><span style=\"font-size: small;\">1<\/span><\/td>\n<\/tr>\n<tr valign=\"top\">\n<td><span style=\"font-size: small;\">1<\/span><\/td>\n<td><span style=\"font-size: small;\">1<\/span><\/td>\n<td><span style=\"font-size: small;\">1<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/fieldset>\n","protected":false},"excerpt":{"rendered":"<p>IF instr(keyword, &#8220;\\&#8221;)&gt;0 or instr(keyword, &#8220;\/&#8221;)&gt;0 or instr(keyword, &#8220;:&#8221;)&gt;0 or &#8230;. then &#8230;&#8230;.. End IF \uadf8\ub7f0\ub370 \uc774\ubc88\uc5d0 \ubcf8 \uc6f9\uc258\uc5d0\ub294 \ub2e4\uc74c\uacfc \uac19\uc740 \ub0b4\uc6a9\uc774 \uc788\uc5c8\uc2b5\ub2c8\ub2e4. \uc18c\uc2a42 flag = \u00a0instr(keyword, &#8220;\\&#8221;)&gt;0 or instr(keyword, &#8220;\/&#8221;)&gt;0 flag = flag or instr(keyword, &#8220;:&#8221;)&gt;0 flag = flag or instr(keyword, &#8220;|&#8221;)&gt;0 &#8230;. flag = flag or instr(keyword, &#8220;&amp;&#8221;)&gt;0 IF flag then &#8230;&#8230;.. End [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-227","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/227","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/comments?post=227"}],"version-history":[{"count":1,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/227\/revisions"}],"predecessor-version":[{"id":228,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/posts\/227\/revisions\/228"}],"wp:attachment":[{"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/media?parent=227"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/categories?post=227"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.onepage.co.kr\/wordpress\/index.php\/wp-json\/wp\/v2\/tags?post=227"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}