By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,796 Members | 1,344 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,796 IT Pros & Developers. It's quick & easy.

Help me with this program...

P: 2
Anyone know a way I can create a program that when the user enter a word, it appears on the form like this:

EXAMPLE
XAMPLEE
AMPLEEX
MPLEEXA
PLEEXAM
LEEXAMP
EEXAMPL

I'm only suppose to use loops, left$, mid$, right$, trim$ strings and if/else statements

Thanks in advance.
Apr 2 '07 #1
Share this Question
Share on Google+
5 Replies


Dököll
Expert 100+
P: 2,364
Anyone know a way I can create a program that when the user enter a word, it appears on the form like this:

EXAMPLE
XAMPLEE
AMPLEEX
MPLEEXA
PLEEXAM
LEEXAMP
EEXAMPL

I'm only suppose to use loops, left$, mid$, right$, trim$ strings and if/else statements

Thanks in advance.
Hiya Azuran!

Is this a school project?

Dököll
Apr 2 '07 #2

P: 2
Hiya Azuran!

Is this a school project?

Dököll
Yup, but I missed class for one week and I'm really far behind and I really need to get this done.
Apr 2 '07 #3

Expert 5K+
P: 8,434
Yup, but I missed class for one week and I'm really far behind and I really need to get this done.
Have you learned how to do any of this, yet?

Hint: In a loop, you will be taking one character from the Left of the string, and the rest of the string, and sticking them together ("concatenating" them) to make the new string.

We don't provide straight copy-and-paste answers to school assignments, as it doesn't help you to learn anything. (See our policy/guidelines here).
Apr 2 '07 #4

Dököll
Expert 100+
P: 2,364
Yup, but I missed class for one week and I'm really far behind and I really need to get this done.
How much time do you have? I think you're on the right track. You'd need to read up about it a bit. I can help no doubt but would need to see what you have working...

You'd also need a replace command in the mix, got a tutorial on that. I'd have to look. Have you previously searched this forum?

Might want to try adding Find and Replace in search terms. Give it a whirl, see what you have.

In a bit!

Dököll
Apr 2 '07 #5

Dököll
Expert 100+
P: 2,364
How much time do you have? I think you're on the right track. You'd need to read up about it a bit. I can help no doubt but would need to see what you have working...

You'd also need a replace command in the mix, got a tutorial on that. I'd have to look. Have you previously searched this forum?

Might want to try adding Find and Replace in search terms. Give it a whirl, see what you have.

In a bit!

Dököll
We must have been typing the same instant Killer :-)
Apr 2 '07 #6

Post your reply

Sign in to post your reply or Sign up for a free account.