Method Intern
Intern(String)
Returns a single object instance for each equal string.
Declaration
public virtual String Intern(String s)
Parameters
Type |
Name |
Description |
System.String |
s |
|
Returns
Type |
Description |
System.String |
|
Intern(Char[], Int32, Int32)
Returns a single object instance for each equal string.
Declaration
public virtual String Intern(char[] arr, int offset, int len)
Parameters
Type |
Name |
Description |
System.Char[] |
arr |
|
System.Int32 |
offset |
|
System.Int32 |
len |
|
Returns
Type |
Description |
System.String |
|