inString.replace problem


hello! have little issue dealing strings. instring has been declared string , using wstring.h library..

i should replace + blanks.. that's try:

code: [select]
instring.replace(char * ("+"),char * (" "));[/color]  

and in return

error: expected primary-expression before 'char'

:-?

any suggestions?

try this:
code: [select]
instring.replace("+", " ");


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > inString.replace problem


arduino

Comments

Popular posts from this blog

CAN'T INSTALL MAMBELFISH 1.5 FROM DIRECTORY - Joomla! Forum - community, help and support

error: expected initializer before 'void'

CPU load monitoring using GPIO and leds - Raspberry Pi Forums