- 1

How to parse parameters from functions in string. Javascript

Only from the first function. How do I parse parameters inside brackets from strings below? If the parameter is a string quotes must be included and changed to double quotes. "func('hello')" returns "hello" "system.out.println(func('hello'))" returns func("hello")

12th Jun 2018, 4:41 PM
Toni Isotalo
Toni Isotalo - avatar
1 Respuesta
+ 1
Your question is not about JavaScript, it is about Java...
29th Jun 2022, 6:38 AM
Matthew James
Matthew James - avatar