How to trim a string value from a string?
For example: Need only " 14393430" from the string "Cart saved as Quote : 14393430" use the below function:
var quote = "Cart saved as Quote : 14393430"
var quotenum=quote.substring(quote.indexOf(':') + 1)
Last updated: June 26, 2023
If you have any feedback on this topic, please contact us at documentation@appvance.ai