LDAP Addressbook search - match first letter only

According to the SPA500 Admin Guide, a LDAP query will search on every letter:
"This searches for the text string anywhere in the beginning, middle, or at the end of a name."
Would it be possible to search only on the first letter of a name?
Erik

Eric, I don't know if you ever solved this request.
In the search syntax you will see the "$VALUE" criteria bounded by two "*". These serve as wildcard matches. If you simply delete the first "*" before $VALUE your match will start at the beginning. Likewise if you remove the second "*" instead the search will try to match at the end. If you remove both it will look for an exact match.
John

Similar Messages

  • Regex: searches for first letter in word return all letters

    I want to init-cap the words in a sentence, and I use the pattern "\\b[a-z]" to search for the first letter of each word. However, it actually matches all the letters, so that the entire sentence is capitalized. If I reverse the pattern to look for the last letter of each word, "[a-z]\\b", then only the last letter is capitalized as expected.
    Is this a bug or a misunderstanding of regular expressions on my part?
    Here's my code:
    String s = "this is a test";
    Pattern p = Pattern.compile("\\b[a-z]");
    Matcher m = p.matcher(s);
    StringBuffer sb = new StringBuffer();
    boolean result = m.find();
    while(result) {
    m.appendReplacement(sb, m.group().toUpperCase());
    result = m.find();
    m.appendTail(sb);
    System.out.println(sb.toString());

    It capitalizes only the first letter of words for me. Try getting the latest version of the JDK.

  • STARTS SEARCH ON FIRST LETTER

    When I try to do a file search using Spotlight or using the window file search feature, the system does not give me a chance to type the whole word and starts searching on the first letter. It will not allow me to stop the search until it is completed or I have to quit the application. Is there anyway to type in a whole word or file name before searching? My only alternative has been to keep the MAC OS 9 Find File application on my dock which gives me exactly what I want after MAC OS 9 boots up. Find File gives me a list of files to scroll through instead of trying to figure out if the file is a document, movie, music, pdf, attachment, and then having to search these subheadings for the file. Is there a simple find file application for Tiger where I can type in a word and get a list of file names instead of all of these subheadings?

    Hi Marcia,
    You might want to try a little app called Laserlight:
    http://mysite.verizon.net/oneleftfoot/laserlight/
    It's a simple little program that presents a search box that won't start searching until you hit return. It then passes the search string to spotlight and the search carries on as normal.
    It's totally free, so give it a try and see how you get on with it.
    All the best,
    Deegan
    TiBook G4 15" 1ghz   Mac OS X (10.4.3)  

  • Country list dropdown search by first letter doesn't work for some countries in the list

    Hi,
    We have this issue with the country list search in Travel Request with the drop down list when user is trying to choose the country by entering the first letter say C for Canada (finds Canada in the list) it works for the countries from A to O  and  doesn't work from P to Z.
    It is NW7.31 portal
    What seems to be the problem ?

    Hi Denis
    Get them to take a look at this wiki page:
    http://wiki.scn.sap.com/wiki/x/2oQCFQ
    It lists the latest notes for your basis version and the notes are usually cumulative which means if you apply the latest notes, it will bring in the pre-requisites and earlier notes too.
    Hope it helps you Denis.
    Sally

  • Dropdown country list search by first letter doesn't work for some countries in the list

    Hi,
    We have this issue with the country list search in Travel Request with the drop down list when user is trying to choose the country by entering the first letter say C for Canada (finds Canada in the list) it works for the countries from A to O  and  doesn't work from P to Z.
    It is NW7.31 portal
    What seems to be the problem ?

    Hi Denis
    Get them to take a look at this wiki page:
    http://wiki.scn.sap.com/wiki/x/2oQCFQ
    It lists the latest notes for your basis version and the notes are usually cumulative which means if you apply the latest notes, it will bring in the pre-requisites and earlier notes too.
    Hope it helps you Denis.
    Sally

  • Country showing as the first letter only on Invoice

    In Smartforms my country (foreign) shows up like
    P-1234 Alverca
    It needs to drop the P and add the country after Alverca but it does not.....
    the code in this area is
    &Ibil_adrc_-city&&' ' I_bil_adrc_-POST_code1
    &I_bil_CON&
    any clues what is happening?

    Have them all in one line, I am assuming there is not space to show the second line..
    &Ibil_adrc_-city&&' ' &I_bil_adrc_-POST_code1& &I_bil_CON&

  • Delegated User Search returns first 200 entries only...?

    Hi Folks,
    We are using Delegated user administration.  When I try to perform a search against the user base it doesn't matter what I type in for search criteria it always returns the first 200 entries starting with the letter "a".  It's almost as if it ignores the search criteria I entered.  For example I can enter "W*" in the search field, select user from the drop down and perform a search.  It returns only the first 200 entries starting with "a".
    We are EP6.0 on SP13 for NW04.
    Anyone have any ideas?
    I would greatly appreciate any help.
    Regards,
    -Jon

    hi,
    User Management Properties (sapum.properties)
    The property file sapum.properties contains properties controlling the configuration of SAP User Management Engine. The installer creates the settings in sapum.properties based on input made during the installation process. You can modify this file after installation.
    If you are using User Management Engine with SAP Enterprise Portal, you can edit the properties file in the user management configuration tool.
    The default value is 200 and to change it you have to edit it.
    Regards,
    Ganesh N

  • First letter on a line only partially printing

    HP 3310 Photosmart All-in-one
    On almost every page printed, the left-most part of the first letter on (mainly) the first line of the page does not print.  Frequently, first letters on subsequent lines (not necessarily consecutive)  also only partially print.  Sometimes, interior letters have the same problem.
    I have changed cartridges several times and cleaned print heads several times (although the test sheet printed when cleaning printheads is invariably perfect). Sometimes the very lowest portion of several letters in a row will not print.  
    The problem happens with different paper stock, different fonts, and different cartridges (including genuine HP cartridges.  

    RichardK wrote:
    HP 3310 Photosmart All-in-one
    On almost every page printed, the left-most part of the first letter on (mainly) the first line of the page does not print.  Frequently, first letters on subsequent lines (not necessarily consecutive)  also only partially print.  Sometimes, interior letters have the same problem.
    I have changed cartridges several times and cleaned print heads several times (although the test sheet printed when cleaning printheads is invariably perfect). Sometimes the very lowest portion of several letters in a row will not print.  
    The problem happens with different paper stock, different fonts, and different cartridges (including genuine HP cartridges.  
    It sounds like you have an issue with the ink drying out in the printheads.  This could be caused by a defective service station area (the part that caps the printheads while not printing), bad ink or by turning the power off to the printer before the printheads have been put away properly.
    It would take a long time for a change of ink cartridges to actually show up at the printheads, there would be a significant amount of ink that remains in the system even after a cartridge change.  You say you have used different cartridges (including genuine HP cartridges).  Does that mean you have used non-HP ink?   I would suggest putting in HP ink and running several (three or more) cleaning cycles but unfortunately if you have used bad ink it may be very difficult to flush this out of the system.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

  • Change only first letter to uppercase

    Hello,
    Have a way in graphical mapping to change only the first letter to uppercase?
    Elad

    hi,
    Please do the following mapping. hope this will help you.
    input-->SUBSTRING1>uppercase-->Firstinput to concate function
                                                                    CONCATE----
    >output
                      input-->SUBSTRING2--->second input to concatefunction
    Set Substring1: starting position=0 and numberof chareters =1
    set Substring2 :starting position=1 and numberof chareters =0
    regards
    Kasturika

  • My ipad keypad make a loud snap noise when I start to type. It's not the regular click sound it sounds like an electric snap and it just started to happen. It only snaps when I type the first letter

    My ipad keypad makes a loud snap noise when I start to type. It's not the regular click sound it sounds like an electric snap and it just started to happen. It only snaps when I type the first letter
    Ipad only about 2 months old. 64gb cellular
    Has anyone had this problem?

    in the future, buy this, this is what the Pros use:
    for drops, accidents, spills, loss, or theft, purchase a TYPE of insurance called "inland marine insurance"
    roughly $30 per year for a device(s) with 0 deductible, used same for over 20 years, same insurance the pros use on their portable devices.
    very cheap, very useful insurance, most people dont know about same.
    http://en.wikipedia.org/wiki/Inland_marine_insurance

  • How do i prevent the system from keeping what u type - username, sites, etc. on search box, i just type the first letter and it comes up immediately; even my username!

    When I go to a search box, i type in the first letter and the whole word comes up.
    I type in the first letter of the username and the whole word comes up.
    I just type anything and the next time i log, it remembers the whole word.
    Please take this out of my system. I do not want it to work this way. I want all memory to be gone.

    I'm starting to come to this conclusion myself, actually... though, how mom managed to do this on accident without mucking about in terminals or anything more than just a cursory knowledge of the OS X system configurations (behind the scenes), I don't know : |
    ... on the other hand, her and I tend to be the exceptions to a lot of rules : |
    I downloaded and installed TinkerTool, even though it supposedly doesn't work past 10.5.8, in the hoopes that, what it displayed (regardless of what it could change) would be correct as far as my "System" and "System (Headlines)" font settings were (see attached screenshot of the font section of TinkerTool for my system--not mom's).
    I've instructed her to install and run the utility (but not to change anything) and then send me a screenshot of the "Fonts" section so I can compare it to my own. If there's something different on her system, since TinkerTool should work on hers, we may be able to fix it that way... though it would, frustratingly enough, remain a mystery to all concerned as to how she managed to stumble upon this in the first place : |
    Anyway, I'm still hard at work on it... hopefully others are too and will share what they discover (if anything).

  • I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click. How do I get version 4 to do this? Thanks.

    I have version 3.6.16 and when I login to my hotmail account, and type the first letter of the email address, a drop down box appears with my hotmail address and I can choose it from that box with a click.
    How do I get version 4 to do this?
    Thanks.

    The new but not-ready-for-prime-time autocomplete method searches for matches that contain the entered text, not just ones that begin with the string. Your options are:
    1) type in longer strings that narrow the search
    2) use an add-on to search just the beginnings:
    https://support.mozilla.org/en-US/questions/1037469
    3) install an older version of TB:
    http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/

  • On those site asking for your name, address, city, email address, this program would put that info where required. All one had to do was type the first letter or number of the info needed. Is this a Firefox program?

    The program would enter info for me. I only had to type the first letter or number of the info needed. For example, my first name is OSCAR. So, to enter this info in the box marked "First name", I only had to type in the box the letter "O". The program would then type OSCAR. I would then click on the name "OSCAR" and the name OSCAR would be entered in the box asking for my first name. Same with "city", "zip code", "last name", "email address", etc. Is this a Firefox feature??

    That feature would be provided by an add-on for Firefox. The most popular add-on of that type was the Google Toolbar for Firefox, which has been discontinued by Google for Firefox 5 and future versions. <br />
    http://googletoolbarhelp.blogspot.com/2011/07/update-on-google-toolbar-for-firefox.html
    There are a number of different '''"auto fill"''' add-ons that are available from other developers. Look at this search for one that meets your needs. <br />
    https://addons.mozilla.org/en-US/firefox/search/?q=auto+fill&cat=all&x=0&y=0

  • First letter shortcut in app list view - Lumia 800

    Hi all, 
     I recently downloaded a couple of apps of my Lumia 800 and I noticed that the app list view has been rearranged in to groups by the first letter of the apps name. Although I find it functional and overall it looks well, I’d like to know if this can be turn off. The only downside I see is that I find myself scrolling down a for longer period of time.
    I appreciate any support.  
    Thanks.  
    Solved!
    Go to Solution.

    This subject has been discussed before, and it is a built in feature that automatically triggers once the number of apps reaches a certain level so you can quickly search for a specific app in a long list. It is a built in feature and cannot be changed AFAIK, there may be changes in future updates, but I doubt it, Personally I find it very useful, and assume most users do as this is only the second thread I've seen mention it as an issue, and as the number of apps available for WP increases I would assume it will become even more useful. The only way to remove for now, as far as I can see is to remove apps you don't use/like untill your list is short enough not to require it. Also, this is a software issue and it may be worth commenting in the Microsoft Windows phone forums, as they may be able to give more SW issue related info ?
    http://social.microsoft.com/Forums/en-HK/windowsmobilesuggestions/threads
    If I have helped at all, a click on the White Star is always appreciated :
    you can also help others by marking 'accept as solution' 

  • Apple wireless keyboard misses first letter in some words

    When I am typing, particularly in Word 2011, with my Apple Wireless Keyboard, it frequently does not type the first letter of a word.  I have searched and can find no resolution to this problem.  I have messed with Accessibility but that is all turned off.  The only other bluetooth device is my mouse.

    Hi,
    Thanks for this. It isn't the computer though, as it will happen very quickly. For example I can type in a web address, then look up to read the web page for 20 seconds or so, then if I type again it will miss the first key stroke.
    I am starting to get used to typing the first letter twice!
    I can see that it is a widely reported issue with Apple Macs, but I can't find a fix for Windows. I am keen not to have to buy a new keyboard!
    T23

Maybe you are looking for

  • Third party scenario with services

    Hi Is it possible to create PR for services thru Sales order for Third party scenario. Please suggest. Thanks

  • Universe, Crystal Report and WebI

    hi There i have a WebI report always fails due to transaction error even i didnot use "limit execution time" ( i didnot check that box, so i guess no limits on this option), then i create a CR report with same universe, i have no issue to get this re

  • Invalid seesion :- Worklist context is null

    I'm creating the worklistapp from scratch. I have the TaskDetails.java servlet which redirects to taskdetails.jsp page. This page displays only the header and the payload form. The payload display page is a custom page and displays the payload correc

  • Doubt with Receiver Determination

    Hi, Is it possible in Receiver Determination to suppress few data from the input xml and send out rest of the input data into mapping? Example: Input xml: <EmployeeData> (1..1) <Record> (1..unbounded) <EmployeeData> <Record>   <Name>Employee1</Name>

  • Spinning beach ball on startup

    I always seem to get a spinning beach ball when starting iChat ... it does connect but it takes a very long time compared to Adium. Any ideas what could be causing this? Thanks