string class : ToLF(string) method

Description

Gets a new string replaced the specified string with a line feed character.

Syntax

stringInstance.ToLF(string replaced)

Arguments

ClassNameDescription
stringreplacedString to replace.

Return value

ClassDescription
stringA new string replaced the specified string with a line feed character.

Sample code

1:

string str = "aaa@bbb";

2:

string newString = str.ToLF("@");

Notes

This method is added in Ver 1.1.1.0.

Links for reference

None

Copyright © Rice All rights reserved.