Sign in to follow this  
Followers 0
golfinhu

break line

4 posts in this topic

#1 ·  Posted (edited)

hi people, fine?

how to i insert one breake line in every "<" and ">" character

example:

before:

<img>
<count>
<color>
<distance>
<test1><test2><test3>

after:

<img>


<count>


<color>


<distance>

<test1>

<test2>

<test3>

thanks in advance!

Edited by golfinhu

Share this post


Link to post
Share on other sites



but as I will use the _stringinsert before each character?

Share this post


Link to post
Share on other sites

$html = "<img><count><color><distance><test1><test2><test3>"
$html = StringReplace($html,"<",@CRLF&"<")
$html = StringReplace($html,">",">"&@CRLF)


[size="1"]Please stop confusing "how to" with "how do"[/size]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0