Hi, I have faced a serious challenge which I've been struggling with for some time. I couldn't find a solution to my use-case and after hours of searching on Google I couldn't find anything useful in my case.
I have two strings which are just a series of a single character (digit) in line, I would like to Append them to a StringBuilder but the second string to the next column instead of continuing alongside the same line as the previous string.
For example, let's say I have these two strings:
7 8 9 10 11
And this one also
7 7 7 7 7
I would like them to be aside each other instead of the same line, like this:
7 7 8 7 9 7 10 7 11 7
How can I accomplish this with StringBuilder? I am aware of the String helper method PadRight() but it just doesn't work well with my current design. If there's another approach I'd like to hear about it, thanks.
Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>