string class : ToNL(string) method
Description
Gets a new string replaced the specified string with a newline.
Syntax
stringInstance.ToNL(string replaced)
Arguments
| Class | Name | Description |
| string | replaced | String to replace. |
Return value
| Class | Description |
| string | A new string replaced the specified string with a newline. |
Sample code
| 1: | string str = "aaa@bbb"; |
| 2: | string newString = str.ToNL("@"); // The result (newString) is "aaa↵bbb". |
Notes
This method is added in Ver 1.1.1.0.
Links for reference
None


