PDA

View Full Version : \f in string


Bobo
01-10-2005, 11:47 PM
How do use escape f ( the "\f"--the form feed thing)?

jbot
01-11-2005, 09:43 AM
How do use escape f ( the "\f"--the form feed thing)?


... "\\f" ;)

Bobo
01-11-2005, 01:28 PM
Yeah... but how in the diddlly do you tell the computer what the \f or \\f is supposed to mean? All I know is that it is for a form feed... but how do you tell it which? :confused:

jbot
01-11-2005, 01:49 PM
how do you tell it which?

it should know from the context. if you set the value of a textarea to "something happened on the way to \fwork today", it would put a formfeed char in at the "\f". if, however, you escaped that, it would ignore it, seeing it as plain text and would literally include the string "\f".

that's the theory anyway ... give it a go!

Bobo
01-11-2005, 08:31 PM
Got it! Thanks!! :D