Hello, this is my first time in stackoverflow, and I'm having a hard time, I need to know how I can detect parts of a string, for example:
String: "Definir a altura de %s para %d"
I want information % s and % d
Example:
"Definir a altura de objeto para 500"
Output:
Saída: "objeto", 500
Is there any way to get this? NOTE: The output does not have to be mandatory in some data type, it can be output in 2 variables, 1 array or anything.
NOTE: Javascript language.
Thank you.