logo       

[Character/String] Sperator...: msg#00099

lang.smalltalk.squeak.beginners

Subject: [Character/String] Sperator...

Hi,

I have some simple questions:

I want to test if a String is a """line feed"""
So what is the good way of doing it?
Or how do you do it?

I personlly do

aString = String lf or: [aString = String cr]

Is there some more special stuff to test?
I have seen Character newPage, what is it?

I know that in windows we have cr+lf, grrrr....

Thanks
Math


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise