Re: compare two strings
Re: compare two strings
- Subject: Re: compare two strings
- From: Jörn Salewski <email@hidden>
- Date: Mon, 02 Feb 2004 00:49:42 +0100
am 02.02.2004 0:27 Uhr schrieb Sascha Kuehn unter email@hidden:
>
thanks! works great.
>
>
i have too other questions:
>
>
how can i check if a string ends with a "=" or any other character?
Many ways to do so. One of them (caution:typed in mail):
NSString * str // declared somewhere
int indexOfLastChar = [str length] -1;
Bool endsInEqualSign;
EndsInEqualSign = ([str characterAtIndex:indexOfLastChar] == '=');
>
how can i leave a for-loop before it's regularly end?
>
break;
>
sorry for that questions, but i'm new to obj-c.
>
Don't worry. (however, the last question was a plain c question)
>
sascha
>
>
Yours,
Joern Salewski
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.