Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello,
How can i check in XSLT if a string is inside another comma separated string?
For example my search string is "Test"
And my list is: "Help, Time, Test, Umbraco"
Now i want to search if "Test" is included and if yes return true else false
contains(string1,string2) Returns true if string1 contains string2, otherwise it returns false
Example: contains('XML','XM') Result: true
http://www.w3schools.com/Xpath/xpath_functions.asp
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Check if Value is in list
Hello,
How can i check in XSLT if a string is inside another comma separated string?
For example my search string is "Test"
And my list is: "Help, Time, Test, Umbraco"
Now i want to search if "Test" is included and if yes return true else false
contains(string1,string2) Returns true if string1 contains string2, otherwise it returns false
Example: contains('XML','XM')
Result: true
http://www.w3schools.com/Xpath/xpath_functions.asp
is working on a reply...