vb.net - Split first <br> from sentence using vb -


i have 1 sentence eric corni<br>chargé de clientèle<br>tél: 09 99 99 99 99 72<br> atricard@adiscos.com want chargé de clientèle<br>tél: 09 99 99 99 99 72<br> atricard@adiscos.com

i have code below:

strtext = replace(strtext, "_com_position_", right(com_signature,instrrev(com_signature, ">", len(com_signature))+3)) 

and _com_position_ = "eric corni<br>chargé de clientèle<br>tél: 09 99 99 99 99 72<br> atricard@adiscos.com" displays wrong need.it displays this: gé de clientèle<br>tél: 09 99 99 99 99 72<br> atricard@adiscos.com

do have solution, please me fix it, thanks.

use instr function() .. , known length of <br> 4 then

dim strtext string = "eric corni<br>chargé de clientèle<br>tél: 09 99 99 99 99 72<br>    atricard@adiscos.com"  strtext = mid(strtext,instr(strtext, "<br>") + 4) 

Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -