0 votes
158 views
in General by
How to get get text after character in PHP?

1 Answer

0 votes
by
<?php
$my_string = 'yourSomeText.AND another';
echo substr($my_string, strrpos($my_string, '.' )+1)."\n";
?>

Related questions

0 votes
1 answer 187 views
asked May 25, 2021 in General by Tester jjavelin (120 points)
0 votes
1 answer 136 views
asked Oct 29, 2021 in General by anonymous
0 votes
1 answer 150 views
asked Oct 29, 2021 in General by anonymous
0 votes
1 answer 143 views
asked Oct 4, 2021 in General by Tester Testee (220 points)
0 votes
0 answers 154 views
asked Oct 4, 2021 in General by anonymous
0 votes
1 answer 7.9k views
asked Mar 5, 2018 in General by mithun (1.3k points)
...