How to split an address to a new life if it is too long?

Hi,

Is it no problem if length of 2nd line is greater than 20?
If yes, the following regex will work

System.Text.RegularExpressions.Regex.Replace(yourString,"^(.{0,20}) ","$1"+vbcrlf)

Regards,

1 Like