 | LayoutMessage.Substring Method |
Returns a new string that is a substring of this Message. The
substring begins at the specified start and
extends to the character at index end-1. Thus the
length of the substring is end-start. If the first character of the
substring is NO-DATA (0x1a) it returns null. The
trailing space characters of the the substring are removed (right
trimmed).
Namespace:
OBCOM.NetSwitchLib.Layouts
Assembly:
OBCOM.NetSwitchLib (in OBCOM.NetSwitchLib.dll) Version: 1.48.7760.35650 (1.48.7760.35650)
Syntaxpublic string Substring(
int start,
int end
)
Public Function Substring (
start As Integer,
end As Integer
) As String
Parameters
- start
- Type: System.Int32
The start index of the substring.
- end
- Type: System.Int32
The end index of the substring.
Return Value
Type:
String
A substring of this
LayoutMessage.
See Also