29.06.2013, 15:15
Hey..
I'm using 'inputtext' to get the name of the listitem in a dialog (DIALOG_STYLE_LIST)
Everything works fine for now but inputtext prints with a space a the end.
ex.
it prints (the string is = Apple)
with a space at the end so I can't get it to work.
How do I get it not to print a " " ?
I'm using 'inputtext' to get the name of the listitem in a dialog (DIALOG_STYLE_LIST)
Everything works fine for now but inputtext prints with a space a the end.
ex.
Code:
format(str,sizeof(str),"%s.ini",inputtext);
Code:
Apple .ini
How do I get it not to print a " " ?