Hiking Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.

New posts No new posts - Mark All Read

Info Center
0 Posts in 0 Topics Made by 364 Members. Latest Member: Buy cialis
Latest Post by Guest
on January 1, 1970, 00:00
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.011 seconds.

10 Responses to Hiking Forum

  1. Shashikant on August 9, 2012 at 4:31 am

    Task: Display just the first name from the full name which is stored in the foramt of LastName, FirstName MiddleName(optional) .Solution in PHP: Use of PHP strpos() and substr() functions.The syntax of these functions are:int strrpos ( string $haystack , string $needle [, int $offset] ) returns the position of needle in the haystack string starting from $offset position. Default value of $offset is 0.string substr ( string $string , int $start [, int $length ] ) returns a portion of the stringPHP code:$string= $fullname; // $fullname may have Kennedy, John F or Obama, Barack or $start=strpos($string,’,')+2; // find the position of ,’ and skip comma & spaceif (strpos($string,’ ,$start)) { // case: there is a space after first name $length=strpos($string,’ ,$start) $start; // get the length of first name} else { // case: no space after first name which means no middle name $length=strlen($string); // definitely greater or equal to length of firstmane}echo substr($string, $start, $length); // displays the first name, John or Barack or

    • Bono on September 10, 2012 at 8:48 pm

      A plaesinlgy rational answer. Good to hear from you.

  2. bkpcmutkskz on August 9, 2012 at 8:38 am

    W2rTCj raudartzxbyl

  3. sflrke on August 9, 2012 at 1:13 pm

    21nCoL , [url=http://xdmlceletsuw.com/]xdmlceletsuw[/url], [link=http://qabnohxzttmu.com/]qabnohxzttmu[/link], http://hmmwizmiffyi.com/

    • Koichi on September 11, 2012 at 12:29 am

      *sigh* Ringling was my first pick for college. I never even got a cchane to apply because my blue-collar parents didn’t want me to go to some “circus school.” Instead I got a good, solid liberal arts education and a major in graphic design (the “reliable” field of art). I’m glad to see that Ringling would have been a good choice even though I didn’t get to go there.

  4. Robin on August 9, 2012 at 10:52 pm

    Hey Jim it was great meeting in posern again.Thanks for the entertaining lecture/ slide show and for signing my books (my kids were impressed and loved the drawings). The demo was great — I couldn’t stay for all of it but it was really fun to see you draw — and talk at the same time — that’s really impressive. (If I’m drawing well I can’t string two words together verbally — must be some corpus callosum deficiency.)And speaking of drawing well, I assumed you just picked the most choice drawings from your sketchbook to post on the blog — but I was amazed as you flipped through the sketchbook — page after page of well observed gems (the pages even had their own inherently interesting layout design)!The Derwent sketchbook is not a watercolor book correct? The pages didn’t seem to buckle so it must be heavier stock? Did you ever get to stop by the Butler in Youngstown?

    • Maleja on September 10, 2012 at 6:53 am

      Wish I could attend one of those luectres :-( But I will certainly be watching your blog for the summaries ! Thanks in advance for posting this information on your methods and techniques.

  5. tkwfrcswqg on August 10, 2012 at 4:42 pm

    xhRTt3 ivgtvfecqmpp

Leave a Reply