开发者

Split string and added space in between string

开发者 https://www.devze.com 2023-03-17 19:05 出处:网络
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??

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

精彩评论

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