Rfc822Tokenizer.TerminateToken(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Terminates the specified address with a comma and space.
public string? TerminateToken(string? text);
member this.TerminateToken : string -> string
Parameters
- text
- String
The address text, which must already have valid syntax.
Returns
The address text followed by , .
Remarks
This .NET string overload calls TerminateTokenFormatted(ICharSequence) and converts its result to a string. The Android implementation always appends the comma and space, even if the input already ends with them.
Terminates the specified address with a comma and space. This assumes that the specified text already has valid syntax. The Adapter subclass's convertToString() method must make that guarantee.
Java documentation for android.text.util.Rfc822Tokenizer.terminateToken(java.lang.CharSequence).
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.