String.prototype.replace

GPTKB entity

Statements (28)
Predicate Object
gptkbp:instance_of gptkb:Mathematics
gptkbp:accepts a pattern as the first argument
a replacement as the second argument
gptkbp:can_be_called_on any string instance
gptkbp:can_be_chained_with other string methods
gptkbp:can_be_used_in gptkb:Node.js
gptkbp:can_be_used_to format strings
a function as the second argument
a regular expression as the first argument
a string as the first argument
remove substrings from a string
gptkbp:can_handle special characters in the replacement string
gptkbp:can_replace all occurrences if the pattern is a global regular expression
gptkbp:community the string based on the provided pattern and replacement
gptkbp:data_return the original string if no matches are found
a new string with some or all matches of a pattern replaced by a replacement
gptkbp:has_a_return_type_of string
https://www.w3.org/2000/01/rdf-schema#label String.prototype.replace
gptkbp:is_available_in gptkb:Java_Script
gptkbp:is_case-sensitive gptkb:true
gptkbp:is_defined_by gptkb:ECMAScript
gptkbp:is_often_used_in string manipulation
gptkbp:is_part_of the String prototype
gptkbp:is_supported_by most modern browsers
gptkbp:bfsParent gptkb:ECMAScript_5
gptkb:Java_Script_ES5
gptkb:String.prototype.replace_All
gptkbp:bfsLayer 5