S
S
SiD152017-09-07 20:39:40
MODX
SiD15, 2017-09-07 20:39:40

Is there some operator that finds a substring in a string on cms modx?

Seems like an elementary thing. Googled but didn't find anything. Help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Ulo, 2017-09-08
@SiD15

pdoTools fenom has this feature.
In the basic version of modx before 2.2, there was also such an opportunity, but it seems to have been removed.
All that's left

F
Froggyweb, 2017-09-07
@Froggyweb

strange requirement.
if logic is needed, then it is done in snippets on standard php + modx API,
why is there an operator on the backend that finds a substring, I don’t know. PHP has a function...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question