Click or drag to resize

MessageSubstring 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.NetClient
Assembly:  OBCOM.NetClient (in OBCOM.NetClient.dll) Version: 40.82.5945.17884 (40.82.5945.17884)
Syntax
public string Substring(
	int start,
	int end
)

Parameters

start
Type: SystemInt32
the start index of the substring.
end
Type: SystemInt32
the end index of the substring.

Return Value

Type: String
a substring of this Message.
See Also