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.