str.replace
- method str str.replace( uint offset, uint size, str value )
- method str str.replace( arrstr aold, arrstr anew, uint flags )
- method str str.replace( str sold, str snew, uint flags )
Replacing in a string. The method replaces data in a string.
uint offset,
uint size,
str value
)
Parameters
offset | The offset of the data being replaced. |
size | The size of the data being replaced. |
value | The string being inserted. |
Return value
Returns the object which method has been called.
str.replace
The method looks for strings from one array and replace to strings of another array.
arrstr aold,
arrstr anew,
uint flags
)
Parameters
aold | The strings to be replaced. | ||||||
anew | The new strings. | ||||||
flags | Flags.
|
Return value
Returns the object which method has been called.
str.replace
The method replaces one string to another string in the source string.
str sold,
str snew,
uint flags
)
Parameters
sold | The string to be replaced. | ||||||
snew | The new string. | ||||||
flags | Flags.
|
Return value
Returns the object which method has been called.
Related links | Source |