DOMTokenList.Replace
DOMTokenList.Replace method
Replaces an existing token with a new token. Does nothing if the first token doesn’t exist.
public bool Replace(String token, String newToken)
Parameter | Type | Description |
---|---|---|
token | String | The token you want to replace. |
newToken | String | The token you want to replace the old token with. |
Return Value
Boolean true
if the token was found and replaced, false
otherwise.
See Also
- class DOMTokenList
- package com.aspose.html.Collections
- package Aspose.HTML