Method GetSuffix
GetSuffix(Int32)
Returns an array of characters that make up the suffix of length 'len' for the currently matched token. This is used to build up the matched string for use in actions in the case of MORE. A simple and inefficient implementation of this is as follows :
{
string t = Image;
return t.Substring(t.Length - len, len).ToCharArray();
}
Declaration
char[] GetSuffix(int len)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | len |
Returns
Type | Description |
---|---|
System.Char[] |