Loading ...
Sorry, an error occurred while loading the content.

RE: [php_greek] find the text

Expand Messages
  • Thanos Grr. Tsouanas
    checkare oles tis str* function ssto manual ths php tha breis kamposes. Prosoxh sayth pou sou epistrefei pos(ition) giati an psaxnakis arnaki sto arnaki aspro
    Message 1 of 5 , Nov 8, 2003
    • 0 Attachment
      checkare oles tis str* function ssto manual ths php tha breis kamposes.
      Prosoxh sayth pou sou epistrefei pos(ition) giati an psaxnakis arnaki sto "arnaki aspro kai paxi" tha epistrepsei 0, mias kai einai sth thesh 0 !

      _______________________________________________
      Join Excite! - http://www.excite.com
      The most personalized portal on the Web!
    • Nikos Lempesis
      Gia na vreis sumvoloseira mesa se alli sumvoloseira mporeis na xrisimopoieiseis tis sunartiseis strstr(), strchr(), strrchr(), kai stristr() To protupo tis
      Message 2 of 5 , Nov 9, 2003
      • 0 Attachment

        Gia na vreis sumvoloseira mesa se alli sumvoloseira mporeis na xrisimopoieiseis tis sunartiseis strstr(), strchr(), strrchr(), kai stristr()

         

        To protupo tis strstr() einai to eksis:

        strstr(string keimeno, string zitoumeno)

        An den vrethei to akrives tairiasma tou ‘’zitoumeno’’ tote epistrefei false

         

         


        From: alaios [mailto:alaios@...]
        Sent: Saturday, November 08, 2003 1:55 PM
        To: php_greek@yahoogroups.com
        Subject: [php_greek] find the text

         

        Kalispera pos mporo mesa apo php an bebaiotho oti yparxei mia leksi
        mesa se ena keimeno? Gia paradeigma
        mytext="ARnaki aspro kai paxi tis manas tou kamari"

        a=the_function("aspro",mytext)
        Thelo na mou epistrepsei true stin a metabliti...Pos mporo na to kano?
        Kati allo antistoixo isos?




        -
        Ãéá íá äéáãñáöåßôå áðü ôç ëßóôá, óôåßëôå Ýíá email óôï:
        To unsubscribe from this group, send an email to:

        php_greek-unsubscribe@yahoogroups.com



        Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
      • Dimitrios Botsis
        Tsekare ton parakatw kwdika PHP :
        Message 3 of 5 , Nov 9, 2003
        • 0 Attachment
          Tsekare ton parakatw kwdika PHP :
          <?
          $str1 = "Arnaki mayro kai adynato"; // to kyrio string sto opoio 8a ginei i
          anazitisi
          $str2 = "Arnaki"; // to string pros anazitisi
          $pos = strpos($str1, $str2);
          if ($pos === false) // prosexe : yparxoyn 3 ison (=) (type casting OK)
          {
          echo("To string " . $str2 . " den bre8ike sto string " . $str1);
          }
          else
          {
          echo("To string"' . $str2 . " bre8ike sto string " . $str1 . " sti 8esi "
          . $pos);
          ?>

          Dimitris Botsis
          http://www.neologic.gr


          ----- Original Message -----
          From: Thanos Grr. Tsouanas <Thief_Grr@...>
          To: <php_greek@yahoogroups.com>
          Sent: Saturday, November 08, 2003 3:02 PM
          Subject: RE: [php_greek] find the text



          checkare oles tis str* function ssto manual ths php tha breis kamposes.
          Prosoxh sayth pou sou epistrefei pos(ition) giati an psaxnakis arnaki sto
          "arnaki aspro kai paxi" tha epistrepsei 0, mias kai einai sth thesh 0 !

          _______________________________________________
          Join Excite! - http://www.excite.com
          The most personalized portal on the Web!


          -
          Ãéá íá äéáãñáöåßôå áðü ôç ëßóôá, óôåßëôå Ýíá email óôï:
          To unsubscribe from this group, send an email to:

          php_greek-unsubscribe@yahoogroups.com



          Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
        • Nikos Lempesis
          $str1 = Arnaki mayro kai adynato ; // to kyrio string sto opoio 8a ginei i anazitisi $str2 = Arnaki ; // to string pros anazitisi if (strstr($str1,
          Message 4 of 5 , Nov 9, 2003
          • 0 Attachment

            $str1 = "Arnaki mayro kai adynato";  // to kyrio string sto opoio 8a ginei i
            anazitisi
            $str2 = "Arnaki";    // to string pros anazitisi

            if (strstr($str1, $str2))

            {

            $thesi = strpos($str1, $str2);

            echo (“To string”.$str2.”brethike sto string “.$str1”.$thesi);

            }

            else

            echo("To string " . $str2 . " den bre8ike sto string " . $str1);

             


            From: Dimitrios Botsis [mailto:dimbotsis@...]
            Sent: Sunday, November 09, 2003 8:23 PM
            To: php_greek@yahoogroups.com
            Subject: Re: [php_greek] find the text

             

            Tsekare ton parakatw kwdika PHP :
            <?
            $str1 = "Arnaki mayro kai adynato";  // to kyrio string sto opoio 8a ginei i
            anazitisi
            $str2 = "Arnaki";    // to string pros anazitisi
            $pos = strpos($str1, $str2);
            if ($pos === false)   // prosexe : yparxoyn 3 ison (=)  (type casting OK)
              {
              echo("To string " . $str2 . " den bre8ike sto string " . $str1);
              }
            else
              {
              echo("To string"' . $str2 . " bre8ike sto string " . $str1 . " sti 8esi "
            . $pos);
            ?>

            Dimitris Botsis
            http://www.neologic.gr


            ----- Original Message -----
            From: Thanos Grr. Tsouanas <Thief_Grr@...>
            To: < php_greek@yahoogroups.com >
            Sent: Saturday, November 08, 2003 3:02 PM
            Subject: RE: [php_greek] find the text



            checkare oles tis str* function ssto manual ths php tha breis kamposes.
            Prosoxh sayth pou sou epistrefei pos(ition) giati an psaxnakis arnaki sto
            "arnaki aspro kai paxi" tha epistrepsei 0, mias kai einai sth thesh 0 !

            _______________________________________________
            Join Excite! - http://www.excite.com
            The most personalized portal on the Web!


            -
            Ãéá íá äéáãñáöåßôå áðü ôç ëßóôá, óôåßëôå Ýíá email óôï:
            To unsubscribe from this group, send an email to:

            php_greek-unsubscribe@yahoogroups.com



            Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/



            -
            Ãéá íá äéáãñáöåßôå áðü ôç ëßóôá, óôåßëôå Ýíá email óôï:
            To unsubscribe from this group, send an email to:

            php_greek-unsubscribe@yahoogroups.com



            Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
          Your message has been successfully submitted and would be delivered to recipients shortly.