Divide the string into groups and return a schoolbag (bag) that holds the array data:
Operation
<bag id=test act=splitgap= "/" >a/b/c/d</Bag>
The stringA/B/C/DArray, back to SchoolbagTest, by keywordtest0、test1、test2... Remove the value after splitting
The value after the output is split
<for end=0 [email protected]{test:getwidth}> <b>@{test:[email protected]{for:getsuffix}},</b > </for>
Effect
Full code
(example file: _samples/bag_split.html)
Try it, it's very easy!.Download and description of light-open platform resources
Platform and Latest development Manuals free Download: http://download.csdn.net/detail/tx18/8464425
Development example: Light Open e-commerce website , free download: http://download.csdn.net/detail/tx18/8318585
Light open platform will be upgraded to provide you with more powerful and easy features, please pay attention to Download the latest version
Bag Label The string is divided into groups, returning a bag to hold the array data (bag)