My text doesn't match. The " " problem
![bazookaBen](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
i did a quick test
text1: john doe
text2: john
i added text2 .. " " .. "doe"
then compared text1 and text2. No match![:( :(](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/frown.png)
any idea why its not working?
project file here
http://dl.dropbox.com/u/29923081/john-doe-match-test.zip
text1: john doe
text2: john
i added text2 .. " " .. "doe"
then compared text1 and text2. No match
![:( :(](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/frown.png)
any idea why its not working?
project file here
http://dl.dropbox.com/u/29923081/john-doe-match-test.zip
Answers
no no.
i appended text2 with spacebar plus "doe" at the back. Now both are "john doe"
but when i compare them, no match
if you run the project, you can check the debugger -> it's showing the same text, but no match
i was using a combination of opt + spacebar, and normal spacebar. GS detects them differently, but the screen shows what seems to us as spacebars.
solution: don't use opt+spacebar. create a seperate global variable / table, put a normal spacebar in it, and everytime it's needed, retrieve from there
love tables for lots of solutions!
or … as the text2 has to have the opt+space
type text1 as john[opt+space]doe
darn computers are so literal!