B
B
Bur Ov2015-12-20 10:21:38
PHP
Bur Ov, 2015-12-20 10:21:38

How to copy text from character to character?

There is a text like:
Time: 00:00 | Here is the text to be copied | 88 days
Need to copy text from | to the second |
Preferably with sample code :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Muhammad, 2015-12-20
@burov0798

$segments = explode('|', 'Time: 00:00 | Тут текст,которой нужно скопировать | 88 дней');

echo $segments[1];

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question