Re: Replacing words-reading the words out of ONE l
The string parser asks for nothing. It's the loop. The Str Parser takes the line of the list "Loop Index" for content.
List Content:
Cola=Pepsi
Coca Cola=Coke
Text:
I love Cola, but i adore Coca Cola!
Now you click the button
The string parser starts working...
It uses the line 1 : Cola=Pepsi
I love Pepsi, but i adore Pepsi cola!
... loop 1 is over.
Now line 2.
I love Pepsi, but i adore Pepsi cola! [color:#FFCC33]- Hey, where the heck is Coca Cola? I can't find it?[/color]
-----------------------------------------------------------------------
List Content:
Coca Cola=Coke
Cola=Pepsi
Same text as before...
The string parser starts working...
It uses the line 1 : Coca Cola=Coke
I love Cola, but i adore Coke! [color:#FFCC33]- Coca Cola was replaced, but Cola not. [/color]
Now line 2.
I love Pepsi, but i adore Coke! [color:#FFCC33] -in this Loop here, it will check for "Cola" (line 2)[/color]
Re: Replacing words-reading the words out of ONE l
Looki good explanation
let me give you an example of a human "bug" this time in
howdy,hi=hello where it doesn't know the end of hi
hio how are you.
turns into:
helloo how are you.
:)
Re: Replacing words-reading the words out of ONE l
Re: Replacing words-reading the words out of ONE l
Try
hi =hello
with a space after both hi and hello, so it will only replace hi when it is a word on its own.
Re: Replacing words-reading the words out of ONE l
Very logical :)
In case of hi at the end of the sentence then just add another phrase:
hi.=hello.
Re: Replacing words-reading the words out of ONE l
That is right raytrace ;)
I am glad to see more people, and I am not the only one responding to your examples looki, with over 100 viewers.
I think it is because most extensions have no good examples.
So the most of you are using (a stupid estimation of coarse) probably 50% of the power of MMF2.
I have to be honest now, actually I was responding to this quote from Novabrain somewhere on this page.
************
NOVABRAIN PART. QUOTE:
"Please, everyone, keep making tutorials for the benefit of others without stop. Ttis is not a contest of a game! It is a growing wave of interaction and reactions. Nobody has to get there fist and every response can contain a new, evented gem or two."
************
You are right friend.
Josthek nice tutorial ( what happend with your magical stringthing ;) for MMF2 )
Happy (a little late) MMF2 Newyear ! looki
bye :)
Re: Replacing words-reading the words out of ONE l
Nice example. Its good that it can batch-convert multiple words into the same censored word. I personally prefer only setting the delimiter once and making the list object 0-based so I don't have to use +1, but that's just my preference.
Quote:
Originally Posted by Filemon
Josthek nice tutorial ( what happend with your magical stringthing ;) for MMF2 )
Thanks. What magical string thing?
Re: Replacing words-reading the words out of ONE l
Sorry, Joshtek a little late !
GetLine object
the magical string thing :))