string class : Value(string) setter

Description

This setter will change only the value without changing the reference value.

Syntax

stringInstance.Value = newValue

Arguments

ClassNameDescription
stringnewValueThe new value.

Return value

None

Sample code

//anyString is a instance of string type.

anyString.Value = "new string value.";

Notes

None

Links for reference

None

Copyright © Rice All rights reserved.