I am looking for hours how can i add an specific character at the end of a string.
Here is my code:
$string = "I have a";
$AddToEnd = "]";
I want to make AddToEnd to appear after the last character in $string.
How it is possible, thanks in advance!