InterviewSolution
| 1. |
How To Assigning A New Character In A String? |
|
Answer» The string element expression, $string{index}, can also be USED at the LEFT side of an assignment statement. This allows you to assign a NEW character to any position in a string. Here is a PHP script example: The string element expression, $string{index}, can also be used at the left side of an assignment statement. This allows you to assign a new character to any position in a string. Here is a PHP script example: |
|