Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by PerlElvir

  1. PerlElvir

    MySQL Date problem

    HI all, I have this situation: I want to get all dates between curent date and 30 days, so I want to get now: 2006-05-22 2006-05-23 2006-05-24 2006-05-25 2006-05-26 . . . 2006-06-21 Now I use this script and I get only last date 2006-06-21. SO can some one help ;) #!/usr/bin/perl -w use...
  2. PerlElvir

    How to extract this??????

    Hi all I have one problem, so...I hope that someone can help ;) Ok so I have array which have always 1 element and from that first element I have to pars it like this: Example my @ace_param1 = ("Thu 27 Apr 20:50 Mexico City 14:35 +1 Frankfurt LH499 13h00 Business Flex (C) Fri 28 Apr 15:40...
  3. PerlElvir

    split array in array

    Thx KevinADC :o)
  4. PerlElvir

    split array in array

    wow greate :) thx man
  5. PerlElvir

    split array in array

    yes but I didnt know how will I extraxt that dates? Do you know? If so that will be nice to make some script :o)
  6. PerlElvir

    split array in array

    Well yestrday Im find some one, but thx on rensponse anyway ;o) here is my way: use DBI; my @ace_param6 = ("LYON LONDON PARIS<"); my @ace_param7 = ("le 23 avr. 2006 : 398,00 @0@20060423@X@0@32823@@le 30 avr. 2006 : 354,00 @1@20060430@X@0@32823@@le 07 mai 2006 : 328,00...
  7. PerlElvir

    split array in array

    Hi Idont know how to eplain this, so than throught example and I hope that someone can help me;) so I have my @ace_param6 = ("LYON LONDON PARIS<"); my @ace_param7 = ("le 23 avr. 2006 : 398,00 @0@20060423@X@0@32823@@le 30 avr. 2006 : 354,00 @1@20060430@X@0@32823@@le 07 mai 2006 : 328,00...
  8. PerlElvir

    split problem [A-Z]

    Thx man :o)
  9. PerlElvir

    split problem [A-Z]

    Hi all , I want to split something by capital latter and I have this situation: $var="Sam 134 Dan 234 Hal 345"; @tax1 = split(/[A-Z]/, $var); now in array I have @tax1=("am 134","an 234","al 345") my question is how can I split by capital latter, but also to have that capital letter, so I...
  10. PerlElvir

    how to delete from ... to...

    Thx all ;o)
  11. PerlElvir

    how to delete from ... to...

    ok thx, but what if I have like this: $var="ALID-1 77,00 &euro; 505.09 FF - ALID-2 77,00 &euro; 505.09 FF - ALID-3 77,00 &euro; 505.09 FF"; and I want to get only: $var="ALID-1 77,00 &euro; - ALID-2 77,00 &euro; - ALID-3 77,00 &euro;"; so delete all from &euro; till - but I dont want...
  12. PerlElvir

    how to delete from ... to...

    Hi all, How can I delete some text from var? example $var="individuelle 77,00 &euro; 505.09 FF"; so now I want to delete and get $var="individuelle 77,00";
  13. PerlElvir

    How to extract only number from string

    thx :o)
  14. PerlElvir

    How to extract only number from string

    Hi all, I have $var=" hello 7 hello"; and which regex I can use to get $var="7";
  15. PerlElvir

    erase duplicated elements in array and make new array

    yap works fine ;o) thx dude

Part and Inventory Search

Back
Top