Light Open Platform (original WebEasy) string calculation 2---Comparison of string groups

Source: Internet
Author: User
Tags webeasy

Light-open platform ( WebEasy ) provides a simple string manipulation function, similar to ( calculation expression ) schoolbag Value Expression  

start character

< P align= "left" > action

delimiter

string

Terminator

@ {

act

:

str

}

Note: Action characters can no longer be used as schoolbag names

Cases:

Comparison of string groups

@ {member: substring ( string Group /..) /..)} --string is included in the calculation

Function: Determines whether the substring is contained in a string group (in / separated), returns True, otherwise false, returns True if the string group is empty (primarily for permission judgments, a string group that represents a department, role, or user name with permissions, and no limit when empty)

Examples:

@ {member: admin ( dept0/acl0.2/admin )} return true Span style= "COLOR: #660000" >
@ {member: tianhua ()} return true
@ {member: tianhua ( dept0/acl0.2/admin Span style= "COLOR: #660000" > returns false

@ {cover: string Group /.. /.. ( substring )}--String overlay calculation

Function: Determines whether the string group (with / separated) contains substrings, returns True, otherwise false

Examples:

@ {cover:organize/listen/is/me(is)} return true
@ {cover: organize/listen/is/me (not)} return false

Easy to download resources for Internet development Platform

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


Light Open Platform (original WebEasy) string calculation 2---Comparison of string groups

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.