Yngvarr

Generation

generate functionFri, 13 Jan 2023

replace % to ''

function removePercentage(str){ return str.replace(/%/g, ''); } removePercentage('100%')

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant