Method Extract
Extract(StringBuilder, String, String, Int32, String[])
Extract from buf
the text of interest within specified tags.
Declaration
public static string Extract(StringBuilder buf, string startTag, string endTag, int maxPos, string[] noisePrefixes)
Parameters
Type | Name | Description |
---|---|---|
StringBuilder | buf | Entire input text. |
System.String | startTag | Tag marking start of text of interest. |
System.String | endTag | Tag marking end of text of interest. |
System.Int32 | maxPos | if = 0 sets a limit on start of text of interest. |
System.String[] | noisePrefixes | Text of interest or null if not found. |
Returns
Type | Description |
---|---|
System.String |