Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Objective C Programming Tutorial - 54 - Substrings and Ranges

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
10,323
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on May 28, 2010

http://thenewboston.com/forum/

Ask me all questions there as well as view source code for the tutorials.

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Top Comments

  • 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!

  • @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.

see all

All Comments (19)

Sign In or Sign Up now to post a comment!
  • 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 ?

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more