rtContainer
All As
rtCollection
BeginInsert
containsStyle
defineLabel
defineLabelAsText
docLinks As
rtEnumeration
hasContent
hotspots As
rtEnumeration
ID
ParentObject
sections As
rtEnumeration
Style As
rtStyle
tables As
rtEnumeration
textRuns As
rtEnumeration
add
addAfter
addNewLine As
rTextParagraph
addPageBreak As
rTextParagraph
appendItemValue
appendStyle
appendText As
rTextParagraph
AddBefore
AddCollection
contains
createTextRange As
rTextRange
Collection As
rtCollection
Count
EndInsert
Find As
rTextRange
FindNext As
rTextRange
getFirstElement
getLastElement
getNextElement
getPrevElement
getRichTextItem
getText
importRTF
New
remove
replaceItemValue
root As
rtContainer
Replace
SetStyle
| version 1.5
Function Replace (txt As String, target As String, flags As Long)
Replaces argument "source" value with argument "target" value. Argument "flags" may contain any of parameters:
0 |
Case Sensitive, Pitch sensitive |
1 |
Case Insensitive, Pitch sensitive |
4 |
Case Sensitive, Pitch insensitive |
5 |
Case Insensitive, Pitch insensitive |
and any combination of flags:
RT_FIND_WILDCARD |
string may contain wildcards as defined for Like operator of LotusScript |
RT_FIND_WORDS |
find only whole words; ignored if wildcard search used |
RT_FIND_SPECIALCHARACTERS |
String may contain special characters: ^p and ^r for paragraph break, ^l - for line break, ^t - for tabulation and ^^ for simple ^ . If you use this parameter replacement string also is expected to contain special characters. |
RT_REPLACE_ALL |
Executes until all replacements done |
List of wildcards, for more information see
Like
Wildcard |
Matches |
? |
Any one character |
# |
Any one digit from 0 through 9 |
* |
Any number of characters (zero or more) |
characters |
Any one of the characters in the list or range specified here |
[!characters] |
Any one character not included in the list or range of characters specified here |
Quick replace
Anchors
|