Hello,
I have a string
$string="- [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall] -
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall] For
both cases,look for a value named “InstallLocation” containing the
string “\Hewlett-Packard\\”, either delete or clear this value and";
and i wrote function fro wrapping it as:
`
$test=wordwrap($string,"80","<br>"); echo $test;
`
but it did not gave me output which i was expecting.
it considered the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall as one word.
How can i solve this one?
by using regexp?
or is there other parameters for this in wordwrap whcih i am missing?