RangeCollectionToString Method (String, String) |
Returns RangeCollection as a string in the form. For example, the range collection containing 1, 2, 10, 11, and 12 returns "1-2,10-12".
If the set is empty, returns "Empty"
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public string ToString(
string seperator1,
string separator2
)
Public Function ToString (
seperator1 As String,
separator2 As String
) As String
public:
String^ ToString(
String^ seperator1,
String^ separator2
)
member ToString :
seperator1 : string *
separator2 : string -> string
Parameters
- seperator1
- Type: SystemString
The string that indicates a contiguous range. Usually "-" - separator2
- Type: SystemString
The string the separates contiguous range. Usually ","
Return Value
Type:
StringA string version of the range collection.
See Also