Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Search

    Does anyone know why the search on this newsgroup does
    not bring up any results if I type in a name in the "From
    Line" ?
    Val Guest

  2. Similar Questions and Discussions

    1. ANN: InterAKT Site Search - search in multiple tables
      Hello, We have just released a new product, MX Site Search, meant to help web developers and designers create a search form in their dynamic...
    2. #25786 [NEW]: PHP website uses cookies to remember last search phrase in search box
      From: tipsen at imada dot sdu dot dk Operating system: - PHP version: Irrelevant PHP Bug Type: Unknown/Other Function Bug...
    3. Search within Search Results
      I am trying to do a search within query results: My first search executes fine, but my second search uses the WHERE parameters of my first...
    4. search box HELP!
      One of these should do:- http://perso.planetb.fr/newton/#text http://tinyurl.com/m2zm Andrew Morton
    5. XP Search - how to not search inside .ZIP files
      Is there any way to make the Windows Explorer Search facility not search the contents of .ZIP files?
  3. #2

    Default Search

    >-----Original Message-----
    >Does anyone know why the search on this newsgroup does
    >not bring up any results if I type in a name in
    the "From
    >Line" ?
    >.
    >Yes it does, but it is redundant (not necessary).
    Jake Guest

  4. #3

    Default Re: Search

    > I guess my problem is that I access the newsgroup with a
    > browser not in my mail program because it seems easier
    > this way.
    Until you want to do something must news readers do natively <g>

    David-


    David B. Ferguson Guest

  5. #4

    Default Search

    When I do a search using "Search Companion", the search
    will not find Folders. Does fine finding Files, but no
    folders. Any ideas?
    kiluco Guest

  6. #5

    Default Search

    I have two files in a tmp directorie. each file have some data in
    them. Some data are the same. I want to search in the files (with file
    handles), and display the data on screen. But if they have the same
    data in both files, display the data once. Here's my code but doesn't
    work. Not all the data is display:

    while( <FILEHANDLE> or <FILEHANDLETWO>)
    {
    $mesAlertes = <FILEHANDLE>;
    $mesAlertesDeux = <FILEHANDLETWO>;
    $final = ($mesAlertes, $mesAlertesDeux); #take data in both
    #but display once if the
    data
    #is the two files...

    print $final;
    }

    What's wrong???
    Jimmy Guest

  7. #6

    Default Re: Search

    Jimmy <jimmy_armand@hotmail.com> wrote in comp.lang.perl.misc:
    > I have two files in a tmp directorie. each file have some data in
    > them. Some data are the same. I want to search in the files (with file
    > handles), and display the data on screen. But if they have the same
    > data in both files, display the data once. Here's my code but doesn't
    > work. Not all the data is display:
    >
    > while( <FILEHANDLE> or <FILEHANDLETWO>)
    This reads a line from each file and discards them.
    > {
    > $mesAlertes = <FILEHANDLE>;
    > $mesAlertesDeux = <FILEHANDLETWO>;
    These read one more line from each file.
    > $final = ($mesAlertes, $mesAlertesDeux); #take data in both
    This sets $final to $mesAlerts and discards $mesAlertsDeux. What
    do you want to achieve?
    > #but display once if the
    > data
    > #is the two files...
    >
    > print $final;
    > }
    >
    > What's wrong???
    Well, you only work on every other line of each file, that's why you
    don't see all the data.

    As for discarding data that has already been displayed, your code
    doesn't even make an attempt.

    In a crude approach, I'd deal with each file on its own. First go
    through one file and print it. Also keep the lines you printed in
    a hash.

    Then print the second file, but skip lines that are in the hash.

    Anno
    Anno Siegel Guest

  8. #7

    Default search

    I am trying to search a string for a "[]". I want to count the amount
    of "[]" in the string.

    Any IDeas....




    Eric Walker Guest

  9. #8

    Default RE: search


    > From: Eric Walker [mailto:ewalker@micron.com]
    > Sent: Friday, November 21, 2003 1:34 PM
    > Subject: search
    >
    >
    > I am trying to search a string for a "[]". I want to count the amount
    > of "[]" in the string.
    >
    > Any IDeas....
    perldoc -q count

    gives you:

    How can I count the number of occurrences of a substring within a string?

    There are a number of ways, with varying efficiency. If you want
    a count of a certain single character (X) within a string, you
    can use the "tr///" function like so:

    $string = "ThisXlineXhasXsomeXx'sXinXit";
    $count = ($string =~ tr/X//);
    print "There are $count X characters in the string";

    This is fine if you are just looking for a single character.
    However, if you are trying to count multiple character
    substrings within a larger string, "tr///" won't work. What you
    can do is wrap a while() loop around a global pattern match. For
    example, let's count negative integers:

    $string = "-9 55 48 -2 23 -76 4 14 -44";
    while ($string =~ /-\d+/g) { $count++ }
    print "There are $count negative numbers in the string";


    You want the second example, but you want to use /\[\]/g as your pattern
    match.

    /\/\ark



    Mark Anderson Guest

  10. #9

    Default Re: search

    Mark Anderson wrote:
    >
    > > From: Eric Walker [mailto:ewalker@micron.com]
    > > Sent: Friday, November 21, 2003 1:34 PM
    > > Subject: search
    > >
    > >
    > > I am trying to search a string for a "[]". I want to count the amount
    > > of "[]" in the string.
    > >
    > > Any IDeas....
    >
    > perldoc -q count
    >
    > gives you:
    >
    > How can I count the number of occurrences of a substring within a string?
    >
    > There are a number of ways, with varying efficiency. If you want
    > a count of a certain single character (X) within a string, you
    > can use the "tr///" function like so:
    >
    > $string = "ThisXlineXhasXsomeXx'sXinXit";
    > $count = ($string =~ tr/X//);
    > print "There are $count X characters in the string";
    >
    > This is fine if you are just looking for a single character.
    > However, if you are trying to count multiple character
    > substrings within a larger string, "tr///" won't work. What you
    > can do is wrap a while() loop around a global pattern match. For
    > example, let's count negative integers:
    >
    > $string = "-9 55 48 -2 23 -76 4 14 -44";
    > while ($string =~ /-\d+/g) { $count++ }
    > print "There are $count negative numbers in the string";
    >
    >
    > You want the second example, but you want to use /\[\]/g as your pattern
    > match.
    Hi Mark.

    There's no need for the loop. All you have to do is execute the pattern
    match in list context and take the scalar value of that list:

    my $string = "-9 55 48 -2 23 -76 4 14 -44";
    my $count = () = $string =~ /-\d+/g;
    print "There are $count negative numbers in the string";

    **OUTPUT

    There are 4 negative numbers in the string

    HTH,

    Rob


    Rob Dixon Guest

  11. #10

    Default Re: search

    Eric Walker wrote:
    >I am trying to search a string for a "[]". I want to count the amount
    >of "[]" in the string.
    >
    >Any IDeas....
    >
    >
    >
    >
    >
    >
    $string = "a4r[]qy78[]x]y[114t";
    $count = $string =~ s/\[]/\[]/g;
    print "$count\n" # $count will equal 2

    Notice that this is not, (I repeat, not) the same as variable en passant
    capture

    ($count = $string) =~ s/\[]\[]/g;

    Moral of the story: parentheses are important. Mix these two modes at
    your own peril (and I learned the hard way!).


    Douglas Lentz Guest

  12. #11

    Default Re: search

    Eric Walker wrote:
    > I am trying to search a string for a "[]". I want to count the amount
    > of "[]" in the string.
    >
    > Any IDeas....
    Are the brackets nested, or are they discrete. This makes a big
    difference in how you go about this. If they are not nested, I would
    recommend Rob's solution above.

    Joseph

    R. Joseph Newton Guest

  13. #12

    Default Re: search

    Eric Walker wrote:
    >I am trying to search a string for a "[]". I want to count the amount
    >of "[]" in the string.
    >
    >Any IDeas....
    >
    >
    >
    >
    >
    >
    re my first post on this, here is a better (well, Lazier) way:

    $string = "a4r[]qy78[]x]y[114[[[[[[|]]]]]]t";
    $count = $string =~ s/(\[])/$1/g;
    print "$count\n";

    # $count is the number of times the desired expression (DU) appears in
    the search string
    # $string is the string to be searched
    # the regex substitutes the DU for itself. Utterly useless, but a
    side-effect is that the number of substitutions performed is stored in
    $count.
    # the $1 variable is a placeholder, it saves you the effort of typing
    the DU twice and possibly making a mistake


    Douglas Lentz Guest

  14. #13

    Default search

    can some one hel;p with this query advanced

    I have coding now
    SELECT Call.CallID, Call.IntakeDate, Support.SupportName,
    Call.FunORCorr_change, Call.SystemID, Call.ShortDescription
    FROM Call INNER JOIN Support ON Call.IntakeBy = Support.SupportID
    ___
    where call.callid= 'varcall' or (call.systemid = 'varsystem' and
    call.funorcorr_change = 'varfun') order by call.intakedate desc
    ___

    if you can see the varcall is working fine (is based on searching for 1
    particular record
    the vasystem (if i do only varsystem it's working but together with varfun
    not)

    I hope you can help me with this I want to have a multiple search
    functionality with listbox and checkbox
    and cross searching but not working properly

    I'm doing something wrong?
    please advise
    kisoen


    Kisoen Guest

  15. #14

    Default search

    I wouldlike to get an extension for implementing search
    mortstern Guest

  16. #15

    Default Re: search

    What kind of search? into database or into the site pages? and which server
    language? If you intend to search into pages and use PHP_MySQL server model
    here is one [url]http://www.felixone.it/extensions/mxssen.asp[/url] Felix

    Felix1 Guest

  17. #16

    Default Search

    Simple search...
    Can any one give me how to start a basic search in cf.? The directory I want to search through is on another server..

    Any help will be greatly appreciated..
    emmim44 Guest

  18. #17

    Default Search

    Hi all,

    I have created a collection for searching my website. I?m able to list the
    search output on to the results page. But when I display the ?summary? field of
    the search output, it displays the variables as ?#VarName#?, not the value. And
    the SQL queries as ?SELECT * FROM TABLE? etc not the results. How do I overcome
    this situation, I don?t want to display the ColdFusion variables or queries but
    I wish to display the same pages with the values.

    Hope this make sense. Any help is greatly appreciated.

    Cheers / Manu.


    wmanu Guest

  19. #18

    Default Re: Search

    Do you have #VarName# enclosed in <CFOUTPUT> tags?
    jdeline Guest

  20. #19

    Default search

    i read example but i dont understand PLEASE anyone explain please
    <cfif C1String is not "">
    <cfif SrchOption is "ANY">
    and Upper(#C1Field#) LIKE '%#Ucase(C1String)#%'
    <cfelse>
    and Upper(#C1Field#) LIKE '#Ucase(C1String)#%'
    </cfif>

    please explain the diff between '%#Ucase(C1String)#%' and
    #Ucase(C1String)#%'

    many thanks

    torm Guest

  21. #20

    Default Re: search

    If you were looking for the letter 'X'
    '%#Ucase(C1String)#%' would find 'TEXAS' and 'XRAY'
    '#Ucase(C1String)#%' would only find 'XRAY'

    The % are wildcard characters. In the front they mean "anything before is OK"
    and
    trailing they mean "anything after is OK". If they are not there only an exact
    match
    would be returned.

    OldCFer Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139