Hello, I am new to java.

my problem is that i input a string, width and a delimiter and produce a "picture".

For example,
Inputs:
String = AAACD*4baa
Width = 3
Delimiter = ‘*’

Output:
AAA
CDb
Bbb
aa

I have been having trouble with my code any help would be GREATLY appreciated.

Thx matt

if i understood u right u supposed to have this

output :

AAA
CD
4ba
a

I mean your output is 3 char width (in case no delimiters at all) or less, which may occur by bumping into a delimiter

right?

What are the problem specifications. How are you supposed to produce the image and post your code using tags.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.