Looking for a name with special character

Hi Gurus,
In our HR system we use multiple language (eg: polish, french, german, english, finns, ...).  All those languages have some specific characters, like german with ß.
When we use the search help to looking for someone, it seems that only people who have the special character on their keyboard can find directly the correct name.
For example :
If I use a german keyboard I can found an employe by completed the correct last name wich contain eg ß .
if I don t use a german keyboard I have to put a * where the specific characters is.
I would like to know if somehow it were possible to customize the system in order to do not need to enter a * but the correspondant singular letter.  Is there any function for converting a special character to a singular one to activated ?
Thank you for all your help
Best regards
Hadrien

indexOf() is used to find where a character or substring appears in a
given string. What you probably need is charAt() which finds out which
character is at a given position. Like this:private JTextField reportNameText;
// something needs to be put in the text field here
String reportName = reportNameText.getText();
if(reportName.charAt(0) == ' ') {
        // printing a space isn't a lot of good...
    //System.out.println("first character is"+reportName.indexOf(0));
    System.out.println("first character is a space");
    JOptionPane.showMessageDialog(null,"Report Name should not start with Space", "", JOptionPane.PLAIN_MESSAGE);
}An even better condition might beif(Character.isWhitespace(reportName.charAt(0))) {This checks for other sorts of space.
The String methods are described here:
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html

Similar Messages

  • JAXB compiler for class names with special characters

    Hi,
    I trying to run the xjc against an XSD where element names (class names) have an "_" in them. For eg ACCOUNT_AKG.
    JAXB creates a class ACCOUNTAKG and omits the "_". I need "_" to be preserved in the class name of the class is generated.
    Can someone show me the right direction , so I can create classes with "_" preserved in the class name.
    This would be a big help
    thanks
    Jax

    Hi,
    I trying to run the xjc against an XSD where element names (class names) have an "_" in them. For eg ACCOUNT_AKG.
    JAXB creates a class ACCOUNTAKG and omits the "_". I need "_" to be preserved in the class name of the class is generated.
    Can someone show me the right direction , so I can create classes with "_" preserved in the class name.
    This would be a big help
    thanks
    Jax

  • How Create New Folder in KM with Name having Special Character

    Hi,
    How to create new Folder in KM with name having special character in it.
    Right now its not allowing me to create folder when i have Colon( as one of the character in name of the folder.
    Is there a way to change this validate?
    Any help is appriciated.
    Thanks

    Hi DK,
    I'm not sure about special chars such as ":" but ifyou need to have your folders displaying special language chars (like german chars), have a look into the below link.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30deb229-d570-2910-4aaf-8858e0660f05
    Hope that helps.
    Ray

  • In Lr 3.6 how can I search for filenames ending with a # character ?

    The text search seems to treat the # character in some mysterious way so as to not select the files that have it in their name. I cannot find any explanation for this in the documentation. Is there some other character(s) that I have to put beside the # to make it register as a normal character ?
    My specific problem is that I need to locate a bunch of files in my catalog that have names ending with a # character. I want to rename those files in a way that removes the trailing # but not other # characters that separate key parts of the file names. If I can't do that then I want to select that group of files and produce .xmp files for them (I don't normally use .xmp files) so that I can rename the files outside Lr and import them again complete with all previous tweaks and metadata.
    I dare say that I would not choose to name files this way if I started again but I've got far too many to change now. 
    There are also too many for me to want to rename them individually in the Metadata panel if I can avoid it.
    I'm using Lr 3.6 on Mac OSX 10.6.8
    cheers,
    - Alan

    You guys beat me to the answer, which I discovered more by accident than good management.
    Firstly, I had used the # characters because they looked good in list views such as in Windows Explorer or the Mac Finder. That was from before I got into using Lr and I was trying and using several different programs to manage my photos. Then I found that trailing # characters prevented Lr from recognizing the number at the "end" of the file name and so I wanted to delete them.
    Secondly, I got into the Lr rename facility initially to replace what I did with Downloader Pro before switching from Windows to Mac and subsequently found that there is no way to delete a trailing character, but it helped establish in my mind that to Lr the "filename" was just the first part of the name before the full stop and the extension (e.g. .cr2 or .nef or .jpg). Try it - there is a "filename" token for setting up a naming structure that ignores the extension and its full stop.
    This was further reinforced in Library Grid View where the filename and the extension are separated and the extension is not displayed.
    So having used F2 (rename) before I got around to playing with the text search I was set up for failure. Looking for {filename ends with #} or {filename ends with #.} failed because it found nothing as none of my files had a # or #. after the filename extension, and looking for {filename contains #} also failed because it found all of my files instead of just those with the trailing #. I wrongly thought that Lr had trouble seeing a # in the text search.
    Now I have been able to find and select all files with a trailing # in the base part of the filename by looking for {filename contains #.} and generate current .xmp files for them. Then I went outside Lr and used a utility file renamer to get rid of the offending # for the image files and the .xmp files in bulk. Then I re-synchronized the folder(s) in Lr to import those renamed files back into Lr along with all of the metadata, and get rid of the old files from the catalog. Had those files been a part of a collection or stack then I suspect that membership of the collection or stack would have been lost but it kept the keywords, ratings, labels, and image tweaks. Then I got rid of the .xmp files again because I prefer to work without them (less clutter and less chance of other software separating them from the image files).
    So much easier than doing it the hard way
    Thanks for your help.
    - Alan

  • Saving webi document from BOXI 3.0 in excel with special character

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

    Issue :Saving webi document from BOXI 3.0 in excel with special character as report name then file name in excel is not correct.
    This happens only with Mozilla, get correct file name in IE.
    Steps to Reproduce:
    1)Create a simple XI3.0 webi report through mozilla browser
    2)Save the webi report with special character name for e.g øäåýþ.
    3)Open the webi report and save it as excel or pdf file.
    4)Report name øäåýþ saved, displays with other junk characters instead of actual reporta name( øäåýþ)
    5)When saving the save report through IE browser in excel or PDF  display correct report name øäåýþ in excel and PDf file.
    Even after making changes in character encoding to UTF in the Firefox options (Content tab-> font & colors : advanced button -> Character encoding does not make any  difference.
    Has anyone came across such type of issue?
    Whether this is limitation of Firefox or bug.
    Regards,
    Ketki Fadnavis

  • DIS PDF with special Character like cyrillic or chinese

    Hello,
    does anybody know how I can solve my Problem with PDF-Documents with Special Character which are Checked In (Tcode CV02N)
    If I want to open the file again, it will be downloaded to
    C:\Users\....\AppData\Local\SAP\SAPGUI\tmp\####
    and not with the Special characters.... so SAP says
    File
    C:\.......
    could not be accessed
    So is there any flag to set in the customizing that the downloaded file will be with the correct Name or any note?
    (Our System is a Unicode System)
    (my Laptop has all the Windows updates including the language packages for Russia and China)
    Thanks in advance
    Stephan

    Hello,
    the SAPhttp.exe is in the Folder:
    C:\Program Files (x86)\SAP\FrontEnd\SAPgui\Unicode
    on my laptop
    therefore I think it should be the Unicode Version?

  • When  I am uploading  file with special character it gives error

    Hi All,
      I am uplloading one file with special character then it gives error. Please let me know solutions on this is soon as possible.
    Thanks,
    Madhav

    hi are you looking for the file to be transferred with the special character then declare it wil the char field...and send it..
    or the special charactera are coming unnecessary use the command ............replace all occurances  to avoid this..

  • Error: Invalid dimension member with special character / in BPC NW 7.5 SP7

    Hi experts,
    We are encountering the following problem in our Financial Planning application.
    We are migrating our existing BPC solution from one server to another through backup and restore. The existing solution was on BPC NW 7.5 SP 5. The profit_centre dimension in the existing solutions has several member ids with special character '/' (forward slash). The dimension never threw an error when processed in the existing solution and there is planning transactional data against these member ids.
    While the entire configration , appset , files were successfully restored through UJBR on the new system (BPC 7.5 SP7) through UJBR (backup and restore), the masterdata could not be restored only for this Profit_centre (masterdata for other dimensions were processed successfullu). All the member ids with / are rejected for this dimension. The same error is thrown if processed through the admin client from the member sheet. 
    Error: Dimension member PC_FF/WS/NT is an invalid member ID
              Error in Admin module
    Is there any setting which need to be made to allow / character in member ids? Any suggestion to get around this problem would be much appreciated.
    Thanks
    Abhiman

    Hi Abhiman,
    Yes, you need to maintain the transformation file to correct all dimension member IDs. Can you please refer to the following link with a similar issue:
    conversion file formula not working
    Hope this helps.
    Rgds,
    Poonam

  • Material master with special character

    I want to create material master starting with special character eg #1234  but system gives a error message as
    "not defined for material type Finished products"
    Where could be the issue.
    Prasad.t.a

    What special character do you want?
    your special character is probably beyond ZZZZZ in the numenclature of characters.
    enter you special character instead of the Zs in the number range definition and try again.

  • Search in file for exact phrase with special symbols [windows 8.1]

    When I search, for example, for 'name.txt' in file content it seems that it finds all files with 'name' and 'txt' in any order.
    Windows 7 seems to have options related to this, like 'use natural language' and 'find partial matches'. But I see nothing in windows 8.
    Please let me know if it's possible to search for exact phrase with special symbols.
    Thanks.

    When I search, for example, for 'name.txt' in file content it seems that it finds all files with 'name' and 'txt' in any order.
    You need to either use the Search tools or learn the Advanced Query Syntax (AQS) that they imply.  Actually you need to do both because the tools only help with the keyword prefix and not with the following syntax that is required to do the specific
    search that you want to do.
    So, for example, you knew that you wanted to find  name.txt  only in file (or directory?) names so you would use the  Other Properties > Name  tool  to be sure that your query had that prefix  Name:name.txt  
    In fact, that was a surprise for me just now because I thought the default syntax for Name with no other specification would be "contains" (which would be Name:~=name.txt) but apparently it defaults to  Name:~<name.txt  which means
    "begins with"  name.txt.  In fact, from an efficiency point of view that is probably a logical default.  But from a usability point of view it is terrible because it means that when users really want  Name:name.txt  to mean either
    "contains" or "ends with" they won't have a clue what to do to make those differences.
    Ref:
    http://windows.microsoft.com/en-us/windows7/Advanced-tips-for-searching-in-Windows
    FYI
    Robert Aldwinckle

  • Invalid tag found: unexpected input while looking for attr name or '/ '

    Hi All,
    I am using apach myfaces version 1.1.5 and tomahawk version 1.1.5 in my project with tomcat 6.
    On one of my jsp page i am having a text box with value like D:\myfolder\subfolder\ .
    When this page is rendering i am getting following warning at console
    WARN  [http-8080-2] 10-07 16:26:46 Invalid tag found: unexpected input while looking for attr name or '/>' at line 212  (ReducedHTMLParser.java:566)Is there any way i can get rid of this problem?
    Thanks and Regards,
    Khush.

    panky_p wrote:
    One more thing have modifying the value for D:\myfolder\subfolder\ . As it has invalid escape sequence and string value will not be returned
    you will have to manipulate your string.
    Edited by: panky_p on Oct 7, 2009 11:38 AM
    you have to manipulate and add escape sequences somethin like "D:\\myfolder\\subfolder\\" or "D:/myfolder/subfolder/"Hi Panky,
    I have just downloaded myfaces blank war file with myfaces-api-1.1.6.jar , myfaces-impl-1.1.6.jar and tomahawk-1.1.7-SNAPSHOT.jar for testing purpose and then in helloword.jsp i write the code like followings:
    <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
    <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <html>
        <head>
            <title>Hello World</title>
        </head>
        <body>
            <f:view>
                <h:form id="form">
                  <h:panelGrid id="grid" columns="2">
                    <h:outputText id="output1" value="Please enter your name"/>
                    <h:inputText id="input1" value="D:\\spool\\test_receiver_11\\" required="true"/>
                    <h:message id="message1" for="input1"/>
                  </h:panelGrid>
                </h:form>
            </f:view>
        </body>
    </html>And in the console i again got the following err :
    WARNING: Invalid tag found: unexpected input while looking for attr name or '/>' at line 10. Surroundings: '" name="form_SUBMIT" value="1"'.
    Can you check again?

  • IPhone Wi-Fi sync stuck at "Looking for [computer name]"...

    Hello,
    For the longest time my iPhone 6 has not been able to sync with iTunes wirelessly, despite the fact that the phone clearly knows if iTunes is running or not. I'm running iOS 8.1 on my iPhone and iTunes 12.0.1 on OSX Yosemite 10.10.
    I have confirmed that the phone does know when iTunes is running on my Mac. When iTunes is running and I go to Settings > General > iTunes Wi-Fi Sync on my phone, the "Sync Now" button is enabled, but when iTunes is not running the button is disabled out with a message saying "Sync will resume when "[computer name]" is available."
    When iTunes is running and I tap "Sync Now" from my phone, the button changes to "Cancel Sync", and a message below says "Looking for [computer name]...". That lasts for about a minute, and then the screen reverts back to its previous state (with the "Sync Now" button). The actual syncing never occurs.
    I've checked the firewall settings on my Mac to make sure iTunes is set to allow incoming connections, and it looks like everything's configured properly.
    Has anyone run into this issue before? I'd greatly appreciate any help!
    Thanks!
    Ryan

    Well, it happens often and, as to me, I don't think it's an issue of Apple, OS or whatever else, rather than a Wi-Fi nowadays technology itself: let's be hones — even though it is popular it is not that good. But, getting back to your question — my solution (the one which works for me) is easy and quite — no hassle with password, nothing...
    All you need is to renew lease of your device over the wi-fi network. Go to the Wi-Fi settings, click the blue arrow to get to the settings of the current network and click the renew lease button; launch iTunes — it's there your iDevice.
    Personally, I've got two of them — and from time to time I'm renewing the lease — that solves mentioned issue.
    With the Kindest Regard,
    Yours Aunt Deena
    PS
    Will you excuse my English, which is not my native language, and thus has more misstypes and mistakes than it really should.

  • Create user with special character

    Hi,
    We are getting the error while creating a user with special character in a filed. The same user is getting created in development environment but not able to create the same in Production environment.
    We tried to check if any configurations are different but couldn't find any clue. Please help in this regards.
    +Exception caught while insertng or updating the user.java.lang.RuntimeException: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 19 - Value of attribute "uid" contains extended (8-bit) characters: americas-Isosystem_ Serviço]; remaining name 'uid=americas-Isosystem_ Serviço, ou=People'+*
    Regards,
    Abhinav

    No there are no restrictions from LDAP,
    also I am able to give 32 character password in Coreid Console,
    it seems that the web services have a restriction on password length.
    Moreover, these web services used to accept 32 characyer passwords few months ago. we lately recognized this issue happening recent times.
    I suspect some Oracle hotfix or patch would have made the difference.
    But I am clue less how to trace it,
    Any help would be appreciated

  • Looking for a name of the application that allows you to browse files

    Looking for a name of the application that allows you to browse files in Linux shell! Here's someones screenshot
    http://s8.postimg.org/ksexr9nbp/image.jpg
    that app in the middle - browsing home directory!
    Thanks all in advance!

    bohoomil wrote:Check the Wiki, File managers, and generally always check the Wiki before asking, after asking, and instead of asking...
    An apple can be an effective contraceptive. Not before. Not after. Instead.

  • Looking for a pager with advanced functionalities

    Hello everyone,
    I am looking for a pager with which I could put custom icons for the different workspaces.
    I have an HTPC that is mainly used for three things: watching movies, playing music and browsing the internet. Therefore, I would like to have four workspaces, one for each of these and another one for administration. Since this is an HTPC, I'd like it to look good and I think it would be neat to have images instead of numbers/squares for the workspaces: a movie reel for the "movies" workspace, a note for "music", etc... I have been looking at pagers on the wiki, but most of the links are broken. I am currently running XFCE, but would install another WM for this. The idea came to me because I could do this on awesome 3, which is installed on my laptop, but my roommates are firmly opposed to a tiling WM on the HTPC.
    If anybody can provide suggestions, they will be very welcome.
    Cheers,
    François

    Howdy-ha- flamirande.  I don't want to be a total prick, as it's not my place; it's yours.  Xfwm or Awesome will get the job done, won't it?  You might be able to wow them if you get a universal remote and set up a proper lirc connection, letting them sit on the couch and have the power at the press of a finger.  I have some friends with XBMC (the real thing--a dedicated, old-school Xbox hacked with BSD for all their media),  and they're more satisfied with the results it provides than how it looks.  Yeah, their Win and Mac PCs (both my friends' and your roomates') give them Facebook and YouTube, but yours gives them music, movies and tv and internet on demand, at a smaller resource cost and with a more versatile core and interface.  If they're so touchy about polish, let them figure it out.  I'm not just saying this as the sorry excuse for a computer geek that I am, but also as a person who's been dealing with many roommates for roughly a decade. I mean I don't know your situation but what do they think, the setup you give 'em is supposed to get them attention?
    If these folks can't be satisfied by the fact that your system can provide them with a reliable, versatile, centralized, kick-ass setup that theirs can't, well...
    More constructively: If they just won't have it...maybe openbox and tint2?  You've got a low ram and cpu demand there, keeping music from skipping and video from tearing, if you work it out properly.  Openbox has always been my choice for the right balance between polish and minimalism.

Maybe you are looking for