Uninote
Uninote
用户根目录
每日点滴

<!DOCTYPE html> <html><head><meta http-equiv='Content-Type' content='text/html; charset=utf8'><title>liaocheng todo</title> <script> var g_resRoot = '../../__res/'; var g_json_outline = '{"children":[{"children":[],"level":1,"lvNumber":"1","text":"lc 2019-1-3"},{"children":[],"level":1,"lvNumber":"2","text":"批量string format工具"}],"level":0,"lvNumber":"","text":"liaocheng todo"}'; </script> <link rel='stylesheet' type='text/css' href='../../__res/common.css'><style>.s0{color:#000000;} .s1{color:#000000;} .s2{color:#c80000;} </style> </head><body> <script src='../../__res/util.js'></script><div id='outline'> <li><a href='#ol_0' style='font-weight:bold; font-size:22px'>liaocheng todo</a></li> <li> <a href='#ol_1' >lc 2019-1-3</a></li> <li> <a href='#ol_2' >批量string format工具</a></li> </div>

<pre id='ol_0' class='title'>liaocheng todo</pre> <pre><d class='s0'></d></pre> <t id='5109c632-7fd6-4016-973d-3118f5dda48d'> <pre class='tnd_head'>lv1= lv2= type=</pre> <h1 id='ol_1'>lc 2019-1-3</h1> <pre><d class='s0'><a href='http://on.rongyipiao.com/book/1079089832#645'>http://on.rongyipiao.com/book/1079089832#645</a></d></pre> <pre><d class='s0'>3.写ELK集成项目错误日志部署文档。</d></pre> <pre><d class='s0'>5.学习arthas。<a href='../link.html#c2f2d50b-9fae-4721-8ac8-cde9840d45d2'>Arthas </a></d></pre> </t> <pre><d class='s0'></d></pre> <t id='eca909d3-4a72-4f15-b9f1-e58ee19543b3'> <pre class='tnd_head'>lv1= lv2= type=todo</pre> <h1 id='ol_2'>批量string format工具</h1> <pre><d class='s1'>〖E:\projects\misc\StringFormat〗</d><d class='s2'></d></pre> <pre><d class='s2'>可以定义分隔符</d></pre> <pre><d class='s2'>是否trim可选</d><d class='s0'></d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>template:</d></pre> <pre><d class='s0'>abc:%1-%%-%1-%2xxx</d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>input source with "," separator:</d></pre> <pre><d class='s0'>x1,x2</d></pre> <pre><d class='s0'>y1,y3</d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>输出:</d></pre> <pre><d class='s0'>abc:x1-%-x1-x2</d></pre> <pre><d class='s0'>abc:y1-%-y1-y3</d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>%1</d></pre> <pre><d class='s0'>%%</d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>a</d></pre> <pre><d class='s0'>b</d></pre> <pre><d class='s0'>c</d></pre> <pre><d class='s0'>d</d></pre> <pre><d class='s0'>e</d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>select * from ... in (</d></pre> <pre><d class='s0'>'a',</d></pre> <pre><d class='s0'>'b',</d></pre> <pre><d class='s0'>'c',</d></pre> <pre><d class='s0'>..</d></pre> <pre><d class='s0'>'e')</d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>'%1',</d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>=></d></pre> <pre><d class='s0'></d></pre> <pre><d class='s0'>'a',</d></pre> <pre><d class='s0'>'b',</d></pre> <pre><d class='s0'>'c',</d></pre> <pre><d class='s0'>..</d></pre> <pre><d class='s0'>'e'</d></pre> <pre><d class='s0'></d></pre> </t> </d></pre> </body></html>

hbuilderx

log_ana

点赞(0) 阅读(56) 举报
目录
标题