Member Avatar

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?

Member Avatar
+0 forum 3
Member Avatar

Hey guys, using a dynamic div here to spit out definitions based on final dispositions of records. I have a database that contains all dispositions and the definitions of each disposition. I want to break after so many characters, so i use the php wordwrap() function but get an odd result. [U]Call Back Later:[/U] Representative was unable to reach patient. PRSM will attempt to re-contact. It breaks right on the first line, then puts one word on the second line and breaks again putting the rest on the third line. I have tried [CODE]wordwrap($desc, 60, "<br />\n")[/CODE] AND [CODE]wordwrap($desc, 60, …

Member Avatar
+0 forum 4
Member Avatar

Hello world of DaniWeb, it's been months since I last visited this forum but here I am asking for your help again :) I've been developing a text editing application and my problem is that the RichTextBox control will "lose" all special formatting (like font, color etc.) when enabling WordWrap. Can you please help me out on this one? P.S: If you need any code in order to help me solve this problem, just let me know and I'll post it right away!

Member Avatar
+0 forum 3

The End.