Function::Memo
MemoStringBetween
MemoStringBetween(TargetMemo,SearchMemo,"SearchOne",SearchTwo")
MemoStringBetween(TargetMemo,MhHtml,"","
content := MemoStringBetween(MyMemo,MySearchMemo,"[P001]","[/P001]")
Copies the text between SearchOne and SearchTwo to TargetMemo.
It will return the value non-incluse of the search values.
Parameters
TargetMemo:Memo
Memo that will retain the result of the function.
SearchMemo: Memo
Memo to search for the start and end values.
StartValue: Text
Text to search for that indicates the start of the searched for string.
EndVlaue: Text
Text that idicates the end of the searched for string.
Returns/Result
Number: number of characters copied. -- WIll be changed to 255 characters of the result string.
Examples
Reference
On the forum about MemoStringBetween
MemoWriteToFile(),MemoReadFromFile(),MemoStringFrom(), MemoStringBetween() sample
Download Sample
Seeing is believing, so please find attached a sample that showcase what you are looking for.
In this sample we...
Product: Dataease [{8}]FIVE. Written by DataEase 20/03/15 at 10:34:53
Re:MemoWriteToFile(),MemoReadFromFile(),MemoStringFrom(), MemoStringBetween() sample
Got some time to sit down to look at this example. Can't say much more than wow! ... Simple small scripts doing some clever stuff here, ans showing how to use functions to do the type of thing I'm looking for.Also showing off other things...
Product: Dataease [{8}]FIVE. Written by Simon B 23/03/15 at 12:13:11
Re:Re:MemoWriteToFile(),MemoReadFromFile(),MemoStringFrom(), MemoStringBetween() sample
We are glad that you are getting a glimpse of the sunny side of the DE8 coin.It is the biggest challenge for DE8 that it is deceptively similar to previous versions of DFW, when in reality it is a completely different beast altogether.<b...
Product: Dataease [{8}]FIVE. Written by DataEase 25/03/15 at 14:21:47
On the blog about MemoStringBetween
DataEase 8 New Function - MemoStringBetween() - Copies the outer between from a Memo to another Memo (Ver. 8.0.0.1205)
Six man all! As we said in the army.The last of the Memo(String(To,From,Between)) functions are now finalised. You can now decompile any String or Memo in minute and exact detail. MemoStringBetween() copies the...
Product: Dataease [{8}]FIVE. Written by DataEase 22/01/13 at 13:56:17
MemoWriteToFile(),MemoReadFromFile(),MemoStringFrom(), MemoStringBetween() sample
Download Sample
Seeing is believing, so please find attached a sample that showcase what you are looking for.
In this sample we...
Product: Dataease [{8}]FIVE. Written by DataEase 20/03/15 at 10:47:00