$my_string = "Lorem Ipsum is simply dummy text of the printing and typesetting industry."
Run Code Online (Sandbox Code Playgroud)
预期结果 :
"Lorem Ipsum <br/> is simply<br/> dummy text<br/>of the printing<br/> and typesetting<br/> industry."
Run Code Online (Sandbox Code Playgroud)
标签应该在每第12个字符后添加,而不是像这样:
There are ma<br/>ny variations
Run Code Online (Sandbox Code Playgroud) 如何生成发票号如下:
Invoice Number = MC1200001
MC : Company name
12 : current year (Flexibel)
00001 : auto increment (Flexibel - auto increment and will reset to 00001 again if year is 2013)
Run Code Online (Sandbox Code Playgroud)
预期结果 :
current year 2012 :
MC1200001
MC1200002
MC1200003
.....
year 2013
MC1300001
MC1300002
MC1300003
.....
Run Code Online (Sandbox Code Playgroud)
需要你的想法或解决这个问题的方法.
谢谢.