0 votes
689 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 563 views
asked May 25, 2021 in General by Tester jjavelin (120 points)
0 votes
1 answer 641 views
asked Oct 29, 2021 in General by anonymous
0 votes
1 answer 629 views
asked Oct 29, 2021 in General by anonymous
0 votes
1 answer 644 views
asked Oct 4, 2021 in General by Tester Testee (220 points)
0 votes
0 answers 441 views
asked Oct 4, 2021 in General by anonymous
0 votes
1 answer 8.5k views
asked Mar 5, 2018 in General by mithun (1.3k points)
...