| SegmentToPlain Method (Int32, Int32) |
Returns a string containing only the plain text in this segment, covering the given token range.
An exception will be thrown if the segment's tokens are not set or the token range is outside the
bounds.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic string ToPlain(
int fromToken,
int intoToken
)
Public Function ToPlain (
fromToken As Integer,
intoToken As Integer
) As String
public:
String^ ToPlain(
int fromToken,
int intoToken
)
member ToPlain :
fromToken : int *
intoToken : int -> string
Parameters
- fromToken
- Type: SystemInt32
The index of the first token - intoToken
- Type: SystemInt32
The index of the last token (inclusive, i.e. "into" semantics)
Return Value
Type:
StringA plain text string covering the specified token range
See Also
Comments