![]() |
OTX Reference
|
|
Replaces strings More...

Public Attributes | |
| StringTerm | _string |
| Cardinality [1] Represents the original String. More... | |
| NumericTerm | index |
| Cardinality [1] Zero-based index - starting position within the string. More... | |
| StringTerm | replacement |
| Cardinality [1] Represents the String value that shall replace the part starting at index of the original String. More... | |
Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term | |
| MetaData | metaData |
| Cardinality [0..1] The MetaData type allows tools to store additional, mainly tool-specific data. More... | |
Replaces strings
The ReplaceSubString term replaces all occurrences of the Replacement-String within a String and return the result back. The search is started from the specified position (Index).
| Core.Exceptions.OutOfBoundsException |
| StringTerm OpenTestSystem.Otx.Extensions.StringUtil.Terms.ReplaceSubString._string |
Cardinality [1]
Represents the original String.
| NumericTerm OpenTestSystem.Otx.Extensions.StringUtil.Terms.ReplaceSubString.index |
Cardinality [1]
Zero-based index - starting position within the string.
| StringTerm OpenTestSystem.Otx.Extensions.StringUtil.Terms.ReplaceSubString.replacement |
Cardinality [1]
Represents the String value that shall replace the part starting at index of the original String.