Method FoldToASCII
FoldToASCII(Char[], Int32)
Converts characters above ASCII to their ASCII equivalents. For example, accents are removed from accented characters.
Declaration
public void FoldToASCII(char[] input, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | input | The string to fold |
System.Int32 | length | The number of characters in the input string |
FoldToASCII(Char[], Int32, Char[], Int32, Int32)
Converts characters above ASCII to their ASCII equivalents. For example, accents are removed from accented characters.
@lucene.internal
Declaration
public static int FoldToASCII(char[] input, int inputPos, char[] output, int outputPos, int length)
Parameters
Type | Name | Description |
---|---|---|
System.Char[] | input | The characters to fold |
System.Int32 | inputPos | Index of the first character to fold |
System.Char[] | output | The result of the folding. Should be of size >= |
System.Int32 | outputPos | Index of output where to put the result of the folding |
System.Int32 | length | The number of characters to fold |
Returns
Type | Description |
---|---|
System.Int32 | length of output |