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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: rudorathod
  • Order by date
  1. rudorathod

    Checking if a string's first character is alphabet

    Hey so you guys are saying that it might not work for some scenarios? because i tried with few examples and it works. Kevin, this is not a school assignment or anything, so dont take it seriously. here are few of the examples i tried, i want to make sure it works so when i load the complete...
  2. rudorathod

    Checking if a string's first character is alphabet

    Thanks Kevin, I already did it, wanted to make sure if someone has a better idea. Its good to share the knowledge. substr($SERIAL_NO,0,1)==(/^[a-zA-Z]/) and substr($SERIAL_NO,1,1)==(/^[a-zA-Z]/) and substr($SERIAL_NO,2,1)==(/^[a-zA-Z]/)
  3. rudorathod

    Checking if a string's first character is alphabet

    Does it apply for checking the first three characters being alphabets? for example ABC1111 and AC11222 Thanks
  4. rudorathod

    Checking if a string's first character is alphabet

    is this condition correct? $firstserial==(/^[a-zA-Z]/)
  5. rudorathod

    Checking if a string's first character is alphabet

    could someone give me the snippet where i can check if the first character in a string is a alphabet or not? Thanks
  6. rudorathod

    Perl Patterns

    oops, its gpg thanks
  7. rudorathod

    Perl Patterns

    I have files coming to the server which are as follows <<TYPE>>_<<DATE_SENT>>_01-<<DATE_DOWNLOADED>>.txt.gpg so for example i get two files TRANSPORT_20071020_01-20071023.txt.gpg and CALCULATE_20071020_01-20071023.txt.gpg based on the type i want to move those files to different locations...
  8. rudorathod

    NVARCHAR datatypes

    I don't think the data is being stored or opened in binary. ALPHA is just an example for the data where i have nvarchar datatype. in the table, its stored as ALPHA, but when i extract it, it comes out in file as ^@A^@L^@P^@H^@A and thats too when i open it in vi editor. When i do head/tail then...
  9. rudorathod

    NVARCHAR datatypes

    I've a nvarchar2 datatype for the column and when i extract the data using PERL, the file gets created. But, when i open the file using vi editor i get something like ^@A^@L^@P^@H^@A for the value ALPHA. When i do more file_name, then i cannot see any columns after the nvarchar datatype column...
  10. rudorathod

    Help

    I have the following part of code in perl and i am trying to figure out what is wrong and why it fails. I am running the following command /usr/loc/bin/shift -v --md5 --record=shift --append-date --no-open=w ~account/ ~/account>> ~/account/shift.log 2>&1...
  11. rudorathod

    remove preceding zero

    I have a variable A = 0000001111111 how can i remove the preceding zeros from the variable A and assign it to variable B so I should have variable B = 1111111 Thankyou

Part and Inventory Search

Back
Top