Ok, I've made a game that sends a name and score to my asp hi-score script, it works fine, except if they put a space in the name, how can I make my app replace all spaces with _ automatically?
Your method doesn't work, but I figured it out myself, you WILL want to know this JonWoG, i know:
Onloop + Left$(Edittext$("Edit"),1) <> " "
Set string to: string$("String 2")+ Left$(Edittext$("Edit"),1)
Set edit text to: Right$(Edittext$("Edit"),Len(Edittext$("Edit")) - 1)
Onloop + Left$( Edittext$( "Edit" ), 1 ) = " "
Set string to: string$( "String 2" ) + "_"
Set edit text to: Right$( Edittext$( "Edit" ), Len( Edittext$( "Edit" ) ) - 1 )
Thanks to JonWoG for the idea of using those functions
Edited by the Author.
n/a
Pete Nattress Cheesy Bits img src/uploads/sccheesegif
Registered 23/09/2002
Points 4811
31st October, 2003 at 16:21:38 -
ohhh... we've been doing that in VB...
*hits self for not realising that could be applied to MMF*