Now I would get into details about what I want to program but I think that may be irrelevent as I know what it is that I want help with...
What I have in my mind;
I need to be able to take a paragraph or more that the user has inputed into a rich text box, split it into it's individual words and if sertain tags are found, change the output to resemble what the tags are for... Ok so that explination sucks so I will use what I can to explain a little better...
Say I want to have something that I can type a post into, like this message editor that surrounds my message as I type it and after pressing a button, it will give me a preview of what my text would look like after I post it on the site... but I want to do it without ether being online or posting to the intended site...
Now what I know I would need to do is take the message or lines of text, single out tags and then format them.
So for a visual example;
[B ]Hello[/B ] there people, [I ]how[/I ] are we today[COLOR="Red" ]?[/COLOR ]
First I need to seperate the words so I can run a routine on each word so that if they do happen to have a tag around it I can format that one word with the corisponding effect.
So after this the program will show in another text box the output with formating added so it will look like this;
Hello there people, how are we today?
What I need to know is A: If what I want is possable and if yes, B: How would I acheive this effect or at least what would I need to read to find out about how to do it...
Also I would like to appologise for my very bad spelling, my Firefox Dictionary ain't seeming to work at the moment and I am hopped up on energy drink so my brain is only half working... So once again Sorry!
And in advance I would like to thank anyone that can help me with this, If I have broken a rule (Of which I did read but my interpritation of said rules may be different to the way they actualy were intended to be) or if this is such a noobish (And yes I mean it in the insulting sort of way) thing to ask, any help will be muchly appreciated!
Edited by NfC_Kitten, 11 July 2009 - 04:34 AM.
Cos I am an idiot?!


Sign In
Create Account

Back to top









