Marmalade SDK: remove or change HTML elements
To remove or change HTML elements in your strings, use this code:
std::string nombre = "Hola Mundo";
std::string nombre = "Hola Mundo";
do
{
found = nombre.find(" ");
if(found < nombre.size())
nombre.replace(int(found), 6, " ");
} while (nombre.find(" ")
the result is: nombre = "Hola Mundo";
Marmalade SDK: remove or change HTML elements
Reviewed by Unknown
on
16:34
Rating:
No hay comentarios: