The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
|||
|
|||
![]() Quote:
Also what is the purpose of enclosing the searchstring expression inside the paired / /? And would this trap any number of /n or do I need to add something like {1,} giving something like: preg_replace("(\n\n\n){1,}","\n\n",$text); Plus would that iterate once only? What if $text== "hello"."\n\n\n\n\n\n\n\n\n\n\n\n"."good"."\n\n\n\ n\n\n\n\"."bye" (where the newline strings could be any length) Finally could the new string manipulation expression be added to the existing dowordwrap() function code block or would it be safer to add a completely new and separate function? Adding the code to dowordwrap() would leave me option of turn it on/off from the existing admin options. Thanks for taking the time to look at my problem. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|