Depends on what you define as "comparing two strings"? Anyway, if you can't find an existing library function that does what you need, you could either write a small inline script or an xslt extension. Can't find useful resource on the wiki regarding xslt extenions, but you may find a howto here.
intersection
Tell me, please, somebody what to do with this error
Error occured System.ArgumentNullException: Value cannot be null.
Alexei,
the intersection method accepts XPathNodeIterator objects for both parameters, yours are just strings.
Cheers,
/Dirk
Dirk, is it contains() the only choice for me to compare two strings in xslt inside Umbraco?
Where can I get information about this functions except wiki?
Alexei,
Depends on what you define as "comparing two strings"? Anyway, if you can't find an existing library function that does what you need, you could either write a small inline script or an xslt extension. Can't find useful resource on the wiki regarding xslt extenions, but you may find a howto here.
Hope this helps.
Regards,
/Dirk
Dirk, thanks I'll try to study your links and suggestions
is working on a reply...