Objective C Programming Tutorial - 54 - Substrings and Ranges
Top Comments
All Comments (19)
-
Thanks for these videos. I need to learn this language and these videos are really helping me to do this.
Sting indexes are zero based. That means they are beginning from 0. But when you are counting characters or getting the length of the string this is actually something different.
Example:
lets our string be "abc".
index of a is 0
index of b is 1
index of c is 2
length of string "abc" is 3
The same way "grapes" sub-string's index is 10 and length is 6.
-
How can you interchangeably use 'x.y' and '[x y]' to call the 'y' method from the 'x' object? I know you said before that you can use 'x.y' when there are setter/getter methods available, but these are location/length not setter/getter... *Confused face*
-
@iamafractal i might not know the exact reason but i think range cannot be an object because i dont think you can point to a range
-
ok why exactly is range NOT an object? bucky says, "this doesn't need to be an object..." or something like that... but WHY?
-
@crazedgamer032 nevermind dude i figured it out! but your vid helped! thanks dude!
it was actualy the character count that helped.
-
hey i have a qeustion PM me if you can. i am on EnigmaGroup and i need help on knowing what exactly a substring is. and on this mission test, there is a password i need to find. i open to viewsource it has substrings, and i need to use them in someway to find this password, (this is only a training mission) if you could PM me that would be grat i need more knowledge on this kinda stuff THANK YOU!!!
-
@IntenseSNEZZLIN that is so encouraging.
-
Can you use wildcards in IF statements ?
Thanks again for keeping it interesting and FREE!
I will definitely be making more donations soon.
Thanks a lot for helping so many people learn what is normally
so boring your could fall asleep before sitting through 54 of these!
jonmcd123 8 months ago 4
@jindak126 I've been fiddling around with them for a while, and generally there is no difference. I don't know why or when there is (I'm a noob), but x.y and [x y] usually yield the same result.
Technoguy3 6 months ago in playlist Objective C Programming Tutorials