Example:
MY NAME IS STACKOVERFLOW
Results in:
MY(new line)
NAME(new line)
IS(new line)
STACKOVERFLOW(new line)
or
Example:
MY-NAME-IS-STACKOVERFLOW
Results in:
MY(new line)
NAME(new line)
IS(new line)
STACKOVERFLOW(new line)
I want to split the line into multiple lines using either a space or dash or whatever it is.
VB6:
If you are using VB.NET, then you can use the
String.Split()method.