How to perform search string more effectively ?

Hi all,
I need to perform searching of string in the following manner where is keying by the user. Unfortunately, human typing error had caused problem in my procedure searching, so I thaught of searching the correct string no matter how the user is keying.
The correct statement is :-
SOIC TEST OUT QTY
However, the user might keying in the following pattern :-
SOICTEST OUT QTY
SOIC OUT QTY
SOIC TEST QUT
and etc.
What is the best way to deal with ? Thanks.
Rgds
Lim

Close but no cigar. This would return a perfect 3:
"WREXHAM SOICAL CLUB SUCCESS ATTESTS TO STOUT'S VIRTUE IN QTY" SAYS CHAIRMAN
but it's not exactly a close match is it?
Pattern matching, especially fuzzy matching, requires us to be able to specify inclusions, exclusions and degree of deviation. For instance, any number of spaces normally wouldn't affect a match, neither might a single added letter - but a dozen additional letters may mean a mismatch.
I'm intrigued by the underlying need for this functionality. Is this a data cleansing exercise or a belated attempt at imposing data integrity? Or something else?
Cheers, APC

Similar Messages

  • How to define search string to update the encashment date in check register

    HI experts,
    I have an issue with the check . the check encashment date is not getting updated . we are using electronic bank statement and the bank statement files are MT940 format . the EBS is working fine but in case of check payment we receive a 12 digit check number i.e ( 000000001618)  in the MT940 files where as  in the SAP system we have maintained check lot with a 10 digit number i.e ( 0000001618) i have already defined the interpretation algorithm and the search string but the search string only works when i change the sap system check lot to 12 digits as per the MT940 files. How can i define a search string to clear the 12 digits check number in MT940 with the 10 digit in system so that it get cleared and the check encashment date get updated in check information .
    could anyone help me .
    Thanks

    Hi
    Try keeping the 1st two digits of search string as b;ank. i.e. ############ (12 digits) mapped to __##########. I used underscore to denote balnk space. Using this when you recevie say 000000001618 (12 digits), it will be mapped to 0000001618 (10 digits). Then your interpretation algo will use this 10 digit number.
    Thanks
    Nikhil

  • How to make search string for the searched text containing single quote?

    Hi all,
    When trying to search some Contacts from Eloqua, I have to make a search string which would list out some specified EmailAddress.
    Unfortunately, I meet several emails who have single quote in their spelling.
    I got 'invalid format' error when both using them directly and making single quote twice.
    Any suggestions?
    Thanks,
    Biao

    When testing, the following examples:
    GET /Api/rest/1.0/data/contacts?search=emailAddress=bm'[email protected]
    GET /Api/rest/1.0/data/contacts?search='emailAddress=bm'[email protected]'
    GET /Api/rest/1.0/data/contacts?search=emailAddress="bm'[email protected]"
    GET /Api/rest/1.0/data/contacts?search="emailAddress=bm'[email protected]"
    All return:
      "elements":
        "type":"Contact",
        "id":"1421620",
        "createdAt":"1419611518",
        "depth":"minimal",
        "name":"bm'[email protected]",
        "updatedAt":"1419611519",
        "emailAddress":"bm'[email protected]"
      "page":1,
      "pageSize":1000,
      "total":1
    Likewise, the following returns nothing:
    GET /Api/rest/1.0/data/contacts?search=emailAddress='bm'[email protected]'
    Hopefully this helps,
    Bojan

  • EBS-  How to map search string using wild card

    Hi Gurus
    I got two similar string on bank statement which needs to be mapped to two different posting rules.
    MV-WORLDPAY- 1805 MOTO
    MV-WORLDPAY -1805 WEB
    in above string 1805 could be any no,( it is not fix no). I have tried using different wildcards and symbols like
    +,*,?,# but it is not piciking the right posting rule, also search string use is also activated. so please guide me.
    Many Thanks
    Sam Rathod.

    Hi
    Try keeping the 1st two digits of search string as b;ank. i.e. ############ (12 digits) mapped to __##########. I used underscore to denote balnk space. Using this when you recevie say 000000001618 (12 digits), it will be mapped to 0000001618 (10 digits). Then your interpretation algo will use this 10 digit number.
    Thanks
    Nikhil

  • How to highlight Search string in JTextArea??

    I have a Search utility which search for a string in JTextArea. Search utility is able to locate the search string but it does not highlight it.
    Please let me know if you know what could be wrong
    Thanks
    Amit

    You have to highlight the string yourself. Try using:
    textArea.setSelectionStart( int );
    textArea.setSelectionEnd ( int );

  • How to Handle the Strings more than 4000 characters in OBIEE 11g

    Hi Folks,
    I have a derived column in RPD where there are like bunch of case statements which involve the columns from 2 or more dimensions. Now I am getting an error ORA-01489: result of string concatenation is too long at OCI call OCIStmtFetch.
    How can we handle this in OBIEE? I have tried the below option that is provided in the below link but I think this work only if it is a single column but in my case it is derived column.
    Please suggest.
    Thanks,
    Bharath

    Bharath,
    Can you try using CLOB function.Check the below URL.Not sure if it helps you.
    sql - LISTAGG function: "result of string concatenation is too long" - Stack Overflow
    Thanks,
    Sasi Nagireddy.

  • How to perform Text length more than 4000 bytes

    I want to read each row from txt file
    and used utl_file pacage to concat contents into a variable,
    the variable datatype is varchar2(4000), so text length can't more than 4000 bytes,
    but I wish get full text from txt file, How can I do?

    Thans! Detlev.
    I have a code :
    PROCEDURE read_file( path in varchar2, filename in varchar2, msg in out varchar2) AS
    data_line varchar2(4000);
    ifile utl_file.file_type;
    BEGIN
    ifile := utl_file.fopen(path,filename,'R');
    LOOP
    utl_file.get_line( ifile, data_line);
    msg := msg | | rtrim(data_line);
    END LOOP;
    utl_file.fclose(ifile);
    EXCEPTION
    WHEN no_data_found THEN
    utl_file.fclose(ifile);
    END;
    My question is
    1. The msg length can't more than 4000
    2. I use utl_raw.cast_to_raw function, that can't cast varchar2 to raw if varchar2 length more than 2048
    3. If I want to change the data type varchar2 to raw,
    the utl_raw.concat function can't use Loop ....end loop clause,
    So that only use utl_raw.concat(ra1, ra2,ra3,ra4,ra5, ... ra12)
    I want to concat all line to a raw datatype from text file , How can I do?

  • Performing searches across different Human Tasks

    On our project we have been using Custom Views within BPM Workspace to perform searches on running and closed workflow instances.
    We have found that we first have to choose what Human Task we want to build the custom search on (e.g.. "Vacation request Manager´s review") and then build the view.
    However, we do not know how to perform searches across different tasks (e.g.: list all vacation requests either "under Manager´s review" or "pending HR acceptance") and get the results in a single page.
    How can we do this?
    Regards
    Juan Algaba Colera

    Hi,
    This link may help you : http://beatechnologies.wordpress.com/2011/06/29/using-flex-fields-in-oracle-bpm-11g/

  • EBS execute order mutiple search string hit

    Hello,
    For different macthing purposes i have implemented several search strings.
    For example 1800#### and 206#####.
    Both work well, but sometime the note to payee information contains info that matches both search strings.
    Does the possibility exsist to 'rank' the action in case of multiple serach string matches?
    Greetings,
    Pascal

    I am not aware of any way to rank search strings.  My best advice is to find additional characters in the note to payee to help make the search strings more unique.  For example, the note to payees containing 1800#### that should hit the search string, might always have the same characters before or after the 1800#### - and those characters aren't in the note to payees that you don't the search string to hit on.  
    For example, the note to payees that should hit for 1800#### might have ABC 1800#### - and others have EFG 1800####.  You could create the search string as ABC 1800#### - and just map ABC to blank (space).  Then the items with EFG 1800#### won't hit the search string.
    If the static text is not right before or immediately after the 1800####, you can use ? in the search string to represent unknown characters.  Again, you would map ? to blank (space).  For example, if the note to payee one day might have ABCDE 12345 1800#### and then next day it has ABCDE 45678 1800#### - you could set up the search string as ABCDE???????1800#### - with ABCDE??????? all mapped to blank.  Instead of multiple ?'s, you can also use ?* to represent an unknown number of unknown characters.  For the previous example the search string would be ABCDE?1800#### with ABCDE? all mapped to blank.  The search string ABCDE?*1800#### will also work if the number of characters between ABCDE and 1800#### varies from day to day.  For example, it would also produce a hit for ABCDE vvv 1800#### and ABCD yyyy 1800####.
    All of my examples are for static characters prior to 1800#### - but the techniques will also work for static characters after 1800#### - or static characters before and after 1800####.
    Regards,
    Shannon
    Edited by: Shannon Moberg on Mar 28, 2011 9:36 AM

  • EBS Auto Subledger posting - Search String

    Hi
    Can any one give some detail on how. EBS - Search string config work.
    requirement is that on customer is paying in a single payment for different invoices.
    all the invoice numbers are quoted in the FINSTA, can we make FINSTA work to automatch all the invoice numbers coming in Bank statement through Search string or in some other way.
    Thanks in advance
    Regards,
    Kalyan

    Kalyan,
    For your scenario, the search string configuration won't work. Search string is usually meant to change the assignment of transaction code, cost center, profit center, etc a bit different than the configuration.
    For your situation, you need to make use of user-exits, wherein you can search for open items which can be cleared based on your specified criteria.
    Enhancement FEB00001 available in standard SAP can be made use of for your purposes.
    Regards,
    Vishal.

  • How to perform a classic Mac OS search in Tiger

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    In an this post I will describe how to perform a classic Mac OS search and give example results. You may perform the search with or without the spotlight database. This search falls under the smart folder implementation introduced with Tiger. I have done all my testing with Mac OS 10.4.11. I assume this will work with any version of Tiger or Leopard.
    The results will be slightly different with a spotlight database on the partition and without a database on the partition. With a database, you will not see Unix hidden files. You may be able to use all of the spotlight special find features. I did not test much with the spotlight special fields. Without a database, using the special features nulls out the search and the "Search for" field seems to give the same result as using the name field.
    This search technique was obscured by all the hoopla over spotlight. Authors of Tiger books avoided mentioning the Classic search interface. When I looked in Leopard books I noticed some authors put back information on the Classic search interface.
    For testing I created these files
    For testing I created a test "z-find" folder on my Macintosh-HD, containing files and folders with various attributes, then copied it over to my Spotless flash drive. This means both searches searched for the same file names.
    I put these files on my Macintosh-HD and Spotless partitions.
    Here is the list of files:
    !http://farm3.static.flickr.com/2122/3746333451_36daa677f8.jpg?v=0!
    Here is the list of files again:
    .bash-backup-copy-initial-dot-copy.html
    .bash-copy-initial-dot/
        bash-backup-inside-bash.html
        ping_command_as_Give.html
    bash-backup-copy-invisible-attr.html
    bash-backup.html
    bash-batChmod.html
    bash-battery__yellow__4k.html
    bash-copy/
        bash-backup-inside-bash-copy.html
        ping_command-bash-copy.html
    bash-copy-invisible-attr/
        ping_command_as_Give.html
    bash-folder__green/
        ping_command_as_Give.html
    Perform the Classic Mac OS search with a Spotlight database.
    {color:red}By Classic Mac OS search I mean a search on the filename and the results shown in list format.{color} How do you get to this interface?
    *Click on the Desktop to access the Finder.*
    *Click on File then click on Find. (Command-F)*
    Pick what folder you wished to search. With Tiger you can click on Others... to select a folder. Click on the plus sign to select the folder you wish to search. Be sure the selected folder in the list is the only one checked. In the first example I picked: /Users/mac/Desktop/iMac/z-find/
    {color:purple}The "Search for" field on the first line is used for spotlight. Avoid using this box.{color}
    *Click on the double arrow to the right of the first option (Kind). Go down to the name field.*
    *Change the 2nd pop down field to Contains.*
    *You can now search for the contents of a filename.* I searched for name contains: bash-
    To see the Classic display format, click on the three line icon which is located on the upper left of the window (list view). There is a small refresh icon on the lower right of the window.
    !http://farm4.static.flickr.com/3485/3240587496_741476de7b.jpg?v=0!
    This is the result of the search with a Spotlight database:
    bash-backup-copy-invisible-attr.html
    bash-backup-inside-bash-copy.html
    bash-backup-inside-bash.html
    bash-backup.html
    bash-batChmod.html
    bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
    bash-copy    {folder}
    bash-copy-invisible-attr    {folder}
    bash-folder__green    {folder and labeled with the Green attribute}
    ping_command-bash-copy.html
    You can create a smart folder to take you directly to the search panel. Just click on the Save icon to the right of the window near the top. For readers of books, you should look under smart folders.
    !http://farm4.static.flickr.com/3498/3239759755_d5ebbefe05.jpg?v=0!
    There are some downsides. Initially, the search will find both visible and invisible Mac OS files. However, the search seems to get confused between visible and invisible files when you select the visibility option. It seems to get the visible correct when you use visible but when you add invisible things get confused. Sometimes it will find invisible files and sometimes it won't. I used both the Unix invisible files and the Mac OS X visiblity attribute.
    In putting the same search in the upper right-hand-corner spotlight search and in the Search for field, I did not get the same results. The spotlight search returned a 182 items while the with Search for field returned 179 items. The Search for field seemed to miss items in the mail boxes. With the Search for search you could display spotlight results in the classic format.
    I did a successful search on my fat32 flash drive.
    Perform the Classic Mac OS search without the spotlight database.
    If you turn off spotlight indexing on a volume and delete the spotlight index, then Mac OS Tiger reverts to the prior Mac OS search facility. In the preferences for spotlight, you let searching continued on the partition.
    Here is what I did:
    I installed the spotless application.
    http://www.fixamac.net/software/spot/
    I use spotless to configure spotlight. Click on disabled indexing then click on delete index files.
    !http://farm4.static.flickr.com/3527/3239751839_c760c46628.jpg?v=0!
    Spotless creates the .Spotlight-V100 directory with the _IndexPolicy.plist and _rules.plist to prevent indexing on the partition.
    I performed the search for files containing "bash-" in the name field.
    !http://farm4.static.flickr.com/3430/3240587902_171d8d46c3.jpg?v=0!
    This is the result of the search without the Spotlight databases:
    bash-backup-inside-bash-copy.html
    bash-backup.html
    bash-batChmod.html
    bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
    bash-copy    {folder}
    bash-folder__green    {folder and labeled with the Green attribute}
    ping_command-bash-copy.html
    Limitations:
    Does not search in Unix hidden folders. That is folders beginning with a period (.) .
    Sometimes will find files beginning with a period (.).
    Does not find Mac OS invisible files.
    Using the special features nulls out the search.
    The Search for field seems to give the same result as using the name field.
    Related tips:
    • More hints by Baltwo
    http://www.macosxhints.com/article.php?story=20050501162147222
    •Spotlight in Leopard has been enhanced. See these articles for details:
    See http://www.pinkmutant.com/articles/Leopard/leospot.html and my mod to Finder's Find at http://discussions.apple.com/message.jspa?messageID=6725932 for what you can change so you can find stuff excluded by the default structure.
    • FindAnyFile
    "Contrary to Spotlight, it does not use a database but instead uses the file system driver's fast search operations."
    http://apps.tempel.org/FindAnyFile/index.html
    • Use the terminal find command to list files from multiple directories.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -exec ls -dF {} \;
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-batChmod.html
    /Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr/
    /Users/mac/Desktop/iMac/z-find/bash-folder__green/
    mac $
    • You can use the Terminal to search the contents of a file.
    You need to combine the find command with the grep command. I am searching for the word pdisk where file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find". The symbols {} \; are needed after the word to search. See:
    man find
    man grep
    for cryptic details.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -type f -exec grep -bil 'pdisk' {} \;
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    • findfile
    "Here’s a simple command-line tool which uses FSCatalogSearch to search for files by name.
    usage: findfile -r <volume> <name> "
    Here is where to find: findfile.
    http://cocoacafe.wordpress.com/2007/06/17/fscatalogsearch/
    I am searching file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find".
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ ~/findfile -r /Volumes/Macintosh-HD/ "bash-" |\
    additional input: grep '^/Users/mac/Desktop/iMac/z-find/'
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-batChmod.html
    /Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
    /Users/mac/Desktop/iMac/z-find/bash-copy
    /Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr
    /Users/mac/Desktop/iMac/z-find/bash-folder__green
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
    Robert
    This is the 1st version of this tip. It was submitted on July 31,2009 by rccharles.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as is, with no guarantee of the effectiveness or reliability of the information. Apple does not guarantee that these links will be maintained or functional at any given time. Use the information below at your own discretion.
    In an this post I will describe how to perform a classic Mac OS search and give example results. You may perform the search with or without the spotlight database. This search falls under the smart folder implementation introduced with Tiger. I have done all my testing with Mac OS 10.4.11. I assume this will work with any version of Tiger or Leopard.
    The results will be slightly different with a spotlight database on the partition and without a database on the partition. With a database, you will not see Unix hidden files. You may be able to use all of the spotlight special find features. I did not test much with the spotlight special fields. Without a database, using the special features nulls out the search and the "Search for" field seems to give the same result as using the name field.
    This search technique was obscured by all the hoopla over spotlight. Authors of Tiger books avoided mentioning the Classic search interface. When I looked in Leopard books I noticed some authors put back information on the Classic search interface.
    For testing I created these files
    For testing I created a test "z-find" folder on my Macintosh-HD, containing files and folders with various attributes, then copied it over to my Spotless flash drive. This means both searches searched for the same file names.
    I put these files on my Macintosh-HD and Spotless partitions.
    Here is the list of files:
    !http://farm3.static.flickr.com/2122/3746333451_36daa677f8.jpg?v=0!
    Here is the list of files again:
    .bash-backup-copy-initial-dot-copy.html
    .bash-copy-initial-dot/
        bash-backup-inside-bash.html
        ping_command_as_Give.html
    bash-backup-copy-invisible-attr.html
    bash-backup.html
    bash-batChmod.html
    bash-battery__yellow__4k.html
    bash-copy/
        bash-backup-inside-bash-copy.html
        ping_command-bash-copy.html
    bash-copy-invisible-attr/
        ping_command_as_Give.html
    bash-folder__green/
        ping_command_as_Give.html
    Perform the Classic Mac OS search with a Spotlight database.
    {color:red}By Classic Mac OS search I mean a search on the filename and the results shown in list format.{color} How do you get to this interface?
    *Click on the Desktop to access the Finder.*
    *Click on File then click on Find. (Command-F)*
    Pick what folder you wished to search. With Tiger you can click on Others... to select a folder. Click on the plus sign to select the folder you wish to search. Be sure the selected folder in the list is the only one checked. In the first example I picked: /Users/mac/Desktop/iMac/z-find/
    {color:purple}The "Search for" field on the first line is used for spotlight. Avoid using this box.{color}
    *Click on the double arrow to the right of the first option (Kind). Go down to the name field.*
    *Change the 2nd pop down field to Contains.*
    *You can now search for the contents of a filename.* I searched for name contains: bash-
    To see the Classic display format, click on the three line icon which is located on the upper left of the window (list view). There is a small refresh icon on the lower right of the window.
    !http://farm4.static.flickr.com/3485/3240587496_741476de7b.jpg?v=0!
    This is the result of the search with a Spotlight database:
    bash-backup-copy-invisible-attr.html
    bash-backup-inside-bash-copy.html
    bash-backup-inside-bash.html
    bash-backup.html
    bash-batChmod.html
    bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
    bash-copy    {folder}
    bash-copy-invisible-attr    {folder}
    bash-folder__green    {folder and labeled with the Green attribute}
    ping_command-bash-copy.html
    You can create a smart folder to take you directly to the search panel. Just click on the Save icon to the right of the window near the top. For readers of books, you should look under smart folders.
    !http://farm4.static.flickr.com/3498/3239759755_d5ebbefe05.jpg?v=0!
    There are some downsides. Initially, the search will find both visible and invisible Mac OS files. However, the search seems to get confused between visible and invisible files when you select the visibility option. It seems to get the visible correct when you use visible but when you add invisible things get confused. Sometimes it will find invisible files and sometimes it won't. I used both the Unix invisible files and the Mac OS X visiblity attribute.
    In putting the same search in the upper right-hand-corner spotlight search and in the Search for field, I did not get the same results. The spotlight search returned a 182 items while the with Search for field returned 179 items. The Search for field seemed to miss items in the mail boxes. With the Search for search you could display spotlight results in the classic format.
    I did a successful search on my fat32 flash drive.
    Perform the Classic Mac OS search without the spotlight database.
    If you turn off spotlight indexing on a volume and delete the spotlight index, then Mac OS Tiger reverts to the prior Mac OS search facility. In the preferences for spotlight, you let searching continued on the partition.
    Here is what I did:
    I installed the spotless application.
    http://www.fixamac.net/software/spot/
    I use spotless to configure spotlight. Click on disabled indexing then click on delete index files.
    !http://farm4.static.flickr.com/3527/3239751839_c760c46628.jpg?v=0!
    Spotless creates the .Spotlight-V100 directory with the _IndexPolicy.plist and _rules.plist to prevent indexing on the partition.
    I performed the search for files containing "bash-" in the name field.
    !http://farm4.static.flickr.com/3430/3240587902_171d8d46c3.jpg?v=0!
    This is the result of the search without the Spotlight databases:
    bash-backup-inside-bash-copy.html
    bash-backup.html
    bash-batChmod.html
    bash-battery_yellow_4k.html    {labeled with the Yellow attribute}
    bash-copy    {folder}
    bash-folder__green    {folder and labeled with the Green attribute}
    ping_command-bash-copy.html
    Limitations:
    Does not search in Unix hidden folders. That is folders beginning with a period (.) .
    Sometimes will find files beginning with a period (.).
    Does not find Mac OS invisible files.
    Using the special features nulls out the search.
    The Search for field seems to give the same result as using the name field.
    Related tips:
    • More hints by Baltwo
    http://www.macosxhints.com/article.php?story=20050501162147222
    •Spotlight in Leopard has been enhanced. See these articles for details:
    See http://www.pinkmutant.com/articles/Leopard/leospot.html and my mod to Finder's Find at http://discussions.apple.com/message.jspa?messageID=6725932 for what you can change so you can find stuff excluded by the default structure.
    • FindAnyFile
    "Contrary to Spotlight, it does not use a database but instead uses the file system driver's fast search operations."
    http://apps.tempel.org/FindAnyFile/index.html
    • Use the terminal find command to list files from multiple directories.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -exec ls -dF {} \;
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-batChmod.html
    /Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr/
    /Users/mac/Desktop/iMac/z-find/bash-folder__green/
    mac $
    • You can use the Terminal to search the contents of a file.
    You need to combine the find command with the grep command. I am searching for the word pdisk where file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find". The symbols {} \; are needed after the word to search. See:
    man find
    man grep
    for cryptic details.
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ find ~/Desktop/iMac/z-find -iname "*bash-*" -type f -exec grep -bil 'pdisk' {} \;
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    • findfile
    "Here’s a simple command-line tool which uses FSCatalogSearch to search for files by name.
    usage: findfile -r <volume> <name> "
    Here is where to find: findfile.
    http://cocoacafe.wordpress.com/2007/06/17/fscatalogsearch/
    I am searching file names containing "bash-" in the directory "/Users/mac/Desktop/iMac/z-find".
    Macintosh-HD -> Applications -> Utilities -> Terminal
    mac $ ~/findfile -r /Volumes/Macintosh-HD/ "bash-" |\
    additional input: grep '^/Users/mac/Desktop/iMac/z-find/'
    /Users/mac/Desktop/iMac/z-find/.bash-backup-copy-initial-dot-copy.html
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot
    /Users/mac/Desktop/iMac/z-find/bash-backup-copy-invisible-attr.html
    /Users/mac/Desktop/iMac/z-find/bash-backup.html
    /Users/mac/Desktop/iMac/z-find/bash-batChmod.html
    /Users/mac/Desktop/iMac/z-find/bash-battery_yellow_4k.html
    /Users/mac/Desktop/iMac/z-find/bash-copy
    /Users/mac/Desktop/iMac/z-find/bash-copy-invisible-attr
    /Users/mac/Desktop/iMac/z-find/bash-folder__green
    /Users/mac/Desktop/iMac/z-find/.bash-copy-initial-dot/bash-backup-inside-bash.ht ml
    /Users/mac/Desktop/iMac/z-find/bash-copy/bash-backup-inside-bash-copy.html
    /Users/mac/Desktop/iMac/z-find/bash-copy/ping_command-bash-copy.html
    Robert
    This is the 1st version of this tip. It was submitted on July 31,2009 by rccharles.
    Do you want to provide feedback on this User Contributed Tip or contribute your own? If you have achieved Level 2 status, visit the User Tips Library Contributions forum for more information.

  • How is it possible to use Index Seek for LIKE %search-string% case?

    Hello,
    I have the following SP:
    CREATE PROCEDURE dbo.USP_SAMPLE_PROCEDURE(@Beginning nvarchar(15))
    AS
    SELECT * FROM HumanResources.Employee
    WHERE NationalIDNumber LIKE @Beginning + N'%';
    GO
    If I run the sp first time with param: N'94', then the following plan is generated and added to the cache:
    SQL Server "sniffs" the input value (94) when compiling the query. So for this param using Index Seek for AK_Employee_NationalIDNumber index will be the best option. On the other hand, the query plan should be generic enough to be able to handle
    any values specified in the @Beginning param.
    If I call the sp with @Beginning =N'%94':
    EXEC dbo.USP_SAMPLE_PROCEDURE N'%94'
    I see the same execution plan as above. The question is how is it possible to reuse this execution plan in this case? To be more precise, how
    Index Seek can be used in case LIKE %search-string% case. I expected that
    ONLY Index Scan operation can be used here.
    Alexey

    The key is that the index seek operator includes both seek (greater than and less than) and a predicate (LIKE).  With the leading wildcard, the seek is effectively returning all rows just like a scan and the filter returns only rows matching
    the LIKE expression.
    Do you want to say that in case of leading wildcard, expressions Expr1007 and Expr1008 (see image below) calculated such a way that
    Seek Predicates retrieve all rows from the index. And only
    Predicate does the real job by taking only rows matching the Like expression? If this is the case, then it explains how
    Index Seek can be used to resolve such queries: LIKE N'%94'.
    However, it leads me to another question: Since
    Index Seek in
    this particular case scans
    all the rows, what is the difference between
    Index Seek and Index Scan?
    According to
    MSDN:
    The Index Seek operator uses the seeking ability of indexes to retrieve rows from a nonclustered index.
    The storage engine uses the index to process
    only those rows that satisfy the SEEK:() predicate. It optionally may include a WHERE:() predicate, which the storage engine will evaluate against all rows that satisfy the SEEK:() predicate (it does not use the indexes to do this).
    The Index Scan operator retrieves
    all rows from the nonclustered index specified in the Argument column. If an optional WHERE:() predicate appears in the Argument column, only those rows that satisfy the predicate are returned.
    It seems like Index Scan is a special case of Index Seek,
    which means that when we see Index Seek in the execution plan, it does NOT mean that storage engine does NOT scan all rows. Right?
    Alexey

  • How do I get more effects in my action box?  I am only showing a few, like BOTTOM BORDERS, LOSE WEIGHT AND SPECIAL EFFECTS. That is all. The turotials I've checked into all show a long list of effects in the actions box. If anyone could help, I appreciate

    How do I get more effects in my action box? I am only showing a few, like "Bottom Borders, Losing Weight, Resize and Crop, and Special Effects. And they do not list but a few effects. When I have watched the tutorials, they are showing a long list of effects in the action box. (with a side space bar)  I do not.  When I have clicked on the little arrow at top, and clicked "Load Actions", a box comes up, but it is blank,saying "no items match your search".  I'm lost!  If someone could help, it would be much appreciated!  I would like to start using this.
    Thank you. 

    Apple Computer Customer Relations:
    1-512-674-2500

  • How do i search for a string in a txt file using java??

    How do i search for a string in a txt file using java??
    could you please help thanks
    J

    Regular expressinos work just fine, especially when
    searching for patterns. But they seem to be impying
    it's a specific group of characters they're looking
    for, and indexOf() is much faster than a regex.If he's reading from a file, the I/O time will likely swamp any performance hit that regex introduces. I think contains() (or indexOf() if he's not on 5.0 yet) is preferable to regex just because it's simpler. (And in the case of contains(), the name makes for a very clear, direct mapping between your intent and the code that realizes it.)

  • RE: How To Get  More Effects, And Presets

    Hello Everyone.
    How can I get more Effects, And Presets for Premiere Pro CC.
    Is It free, or we have to purchase them ?
    Thanks.

    Search for them . Google "Premiere plugins"
    Some are free and some are for purchase.
    You cant buy presets. Maybe you can swap them with someone but I dont know how.

Maybe you are looking for