string class : ToDQ(string) method

Description

Gets a new string replaced the specified string with a double quote character.

Syntax

stringInstance.ToDQ(string replaced)

Arguments

ClassNameDescription
stringreplacedString to replace.

Return value

ClassDescription
stringA new string replaced the specified string with a double quote character.

Sample code

1:

string str = "aaa@bbb";

2:

string newString = str.ToDQ("@"); // The result (newString) is "aaa"bbb".

Notes

This method is added in Ver 1.1.1.0.

Links for reference

None

Copyright © Rice All rights reserved.