Method SubQuery
SubQuery(string, int, int)
Extract a sub query from the main query string using from/to indexing
Declaration
public static string SubQuery(string query, int fromIndex, int toIndex = -1)
Parameters
| Type | Name | Description |
|---|---|---|
| string | query | Main query to extract from |
| int | fromIndex | Sub query index to start extracting (inclusive) |
| int | toIndex | Sub query index to stop extracting (inclusive) |
Returns
| Type | Description |
|---|---|
| string | SubQuery extract |