Search:

Type: Posts; User: Freaky Chris

Search: Search took 0.16 seconds.

  1. Replies
    6
    Views
    1,076

    [SOLVED] Re: String problem

    Herah,

    We are not overlykeen on spoonfeeding solutions here, we prefer to guide towards the solution, but not provide the solution.

    Chris
  2. Replies
    6
    Views
    1,076

    [SOLVED] Re: String problem

    if maxLength is 0, you never update maxLength from 0. So all city names will be longer than zero, thus the last name you enter will also be returned. You need maxLength to change each time you find a...
  3. Replies
    6
    Views
    1,076

    [SOLVED] Re: String problem

    if(length> maxLength)
    longName = name;

    You should also be setting max length to the length of the new longName perhaps....
Results 1 to 3 of 3