12-02-2004, 11:32 AM
The right$ function isn't supposed to reverse the string. It's just supposed to return the characters starting X from the right, to the end.
The current code doesn't run correctly in FB:
I'll be checking more of the text functions sooner or later. For now I need to sleep. (edited because instr works, so I updated the program to show that)
The current code doesn't run correctly in FB:
Code:
a$ = "Hell is a place on earth"
a$ = LEFT$(a$, 3)
a$ = a$ + LCASE$(LEFT$("Low man's Lyric is a favourite song of mine.", 2))
b$ = "Now we see the truth."
a$ = a$ + " " + UCASE$(MID$(b$, 3, 1)) + MID$(b$, 2, 1)
b$ = "Girls are yucky"
a$ = a$ + LCASE$(LEFT$(RIGHT$(b$, LEN(b$) - INSTR(b$, "i")), INSTR(b$, "r") - 1)) + "d"
PRINT a$
SLEEP
I'll be checking more of the text functions sooner or later. For now I need to sleep. (edited because instr works, so I updated the program to show that)