RangeCollectionParse Method |
Parses strings of the form -10--5,-2-10,12-12 . Spaces are allowed, no other characters are.
If mergeOverlappingRanges, then, for example, 2-3,4-5 is represented
as 2-5. Otherwise, they're maintained as separate ranges. The only difference is in the behavior of the ToString() call.
By extension, this will change how a RangeCollection is parsed into a RangeCollectionCollection using the latter's
GetInstance(RangeCollection) initializer.
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static RangeCollection Parse(
string ranges
)
Public Shared Function Parse (
ranges As String
) As RangeCollection
public:
static RangeCollection^ Parse(
String^ ranges
)
static member Parse :
ranges : string -> RangeCollection
Parameters
- ranges
- Type: SystemString
A range or the string empty. \"empty\" will return an empty range.
Return Value
Type:
RangeCollectiona new RangeCollection
See Also