Map all punctuation characters to a specific character.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub mapPunctuation( _ 
   ByVal c As Char _ 
)
C#
public void mapPunctuation(
   char c
)
C++
public:
 void mapPunctuation(
   wchar_t c
) sealed 
J#
public void mapPunctuation(
   char c
)
JScript
public  function mapPunctuation(
   c : char
)

Parameters

c
The character to map to

Remarks

This is often used to equate hyphen, slash, period, comma, etc to the space character. This ignores all punctuation and special characters except that they are considered token separators. If desired they can be mapped to a different character. In this case all punctuation and special characters would be considered equivalent, but they would not act as token separators.

See Also