Bag Label The string is divided into groups, returning a bag to hold the array data (bag)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.