开发者

Split string and added space in between string

I have string say that has 500 characters at a strech without anyspaces in between, I want to introduce space in between that string for every 50 characters, c开发者_如何转开发an anyone help me out?? how to do this using javascript or jquery or useing c#. Im using MVC3 in .net4 framework with SQL 2010.


read the first 50 chars, add a space, read the next 50, add a space .... i would use a loop.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜