Jump to content
Sign in to follow this  
golfinhu

break line

Recommended Posts

golfinhu

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
golfinhu

but as I will use the _stringinsert before each character?

Share this post


Link to post
Share on other sites
Delta

$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  

×