Distinguish the input with multiple argus

hi all,
here i have a question about programming a SMTP email client using the command-line for the user input.
it requires distinguish the input with multiple argus, regardless upper case or lower case and the order of some critical key words, for example: "from:", "to:", "subject:", and "body:", this means the user input "ForM:" or "fOrM:" should recognize as a same "form:" string.
in addition, the command-line is as follow:
+java MyPMC To:[email protected] From:[email protected] Subject:Hi Body:See you at library a
and
java MyPMC froM:[email protected] TO:[email protected] suBjecT:Hi body:See you at library at 1
should work exactlly the same (assumming the java file name is MyPMC), how can i achieve this task.
please anyone can help me or give me some hints to do so.
thanks a lot.
Max

String.equalsIgnoreCase perhaps. If this is not the solution you are after perhaps you can explain yourself better.

Similar Messages

  • For the cm with multiple bps, what are the options for workaround?

    For the cm with multiple bps, what are the options for workaround?
    customer a purchases 1000
    and returns 800 at POS
    customer b was used at SAP related to  this transaction, purchase amounting to 2000,what can we do to apply the returns of customer a to customer b of 800 return transaction at pos?customer a and customer b code pertains to just one client---but were given different codes at POS and at SAP

    Hi,
    If one customer has two codes, you can only do manual journal entry to adjust their accounts.
    Thanks,
    Gordon

  • HT5622 Hello - my wife and I use the same appleID (legacy of our first ipod) and now that we've gone to the cloud with multiple devices, is there a smart, easy way to either segregate the data in the iCloud to each of our respective devices or ??  Thx

    Hello - my wife and I use the same appleID (legacy of our first ipod) and now that we've gone to the cloud with multiple devices, is there a smart, easy way to either segregate the data in the iCloud to each of our respective devices or ??  Thx in advance ...

    Hello eagjdw
    You can keep the one Apple ID for purchases and then create another one for a personal account for contacts and calendars. The article below will assist further
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Fill-the-gap with multiple gaps - show right answers colored

    Hello,
    I'm using CP5 on OSX 10.6.4
    I create a quiz "fill-the-gap" with multiple gaps (textfields/drop-down menu) in a single slide.
    When a user doesn't fill all gaps he get the info, that he have to fill all gaps. O.K.
    When he fills wrong answers he get the info, that it is not correct. But he can't see, which answers are right answers.
    Has CP5 (i.e with a variable) the feature to color right answers (i.e the font turns to green) others turns to red?
    Or right answers turns to non-editable textfields or drop-downs aren't available after setting the right answer.
    Ishan

    Hello,
    I never used CP5 on Mac, just on Windows. So I'm not totally sure my answers will apply.
    About your question to see the right answers: normally this will be done during Review, provided you did allow Review in the Quiz Settings (Allow the user to review the Quiz). You can see the message that will be showed when selecting the Review area on the stage and looking at the Properties. The messages can be edited. In the screenshot you see the default messages. For an incorrect answer both the given answer ('Your answer:...')  and the correct answer will be put in the Review area during review.
    For your second questions: as far as I know, this is not possible with the default dropdown list of the Question slide for 'Fill-in-the-Blank'. It could be made possible by constructing your own Question slide, using the available objects, user variables and advanced actions.
    Lilybiri

  • Am I able to tag a data point of a spreadsheet that is being created by a datalogging VI such that at the end I have the data with multiple tags which corelate to events during a measurement cycle

    Am I able to tag a data point of a spreadsheet that is being created by a datalogging VI such that at the end I have the data with multiple tags which corelate to events during a measurement cycle
    My final need is to take data from a datalogging VI and store it in a spreadsheet with tags that corespond to events in a subVI which is controlling motor movement. This will allow users to view all data and mark the relevent data for analysis. As usual, user want everthing but with conditions.

    Sure. What you do is take the numeric value acquired, the tags you want, and build them into an array. So now, when you write to the spreadsheet, you'll have a 2D array. One thing you have to keep in mind is that all elements of an array have to be of the same type. So if your tags are strings, you'll have to convert your numeric data into strings as well.

  • Synchroniz​ing two counter frequency inputs with multiple analog inputs

    Hello all,
    I'm fairly new to LabVIEW and I'm trying to collec​t data from multiple sources with synchronized tim​ing on the acquisition but I'm having trouble figu​ring it out. My problem is that I've got two count​er frequency inputs, one optical tachometer readin​g one pulse per revolution, and a max machinery fl​ow meter with a k factor of 12000. I can't seem to​ figure out how to sync the timing with my multiple analog inputs. I've be​en attempting to get the tachometer  to sync with ​the analog inputs first by following the example l​inked here. (https://decibel.ni.com/content/docs/DOC-10785) So far each time I run it I either get a timeout e​rror on the DAQmx read or a "Multiple sample clock​ pulses were detected" error (see attached image).  It seems if I slow the sampling rate way down to ​say 10 hz and ensure that the tachometer signal is​ over 800-1000 RPM (13-17 Hz) before starting the VI then the program will run without errors until ​the RPM drops below that threshold then the "Multi​ple sample clock pulses" error occurs.  The code is attached below.
    Does anyone know of a more effective way of syncin​g counter frequency inputs with analog inputs?  I'd like to have a VI that can show 0 RPM (and ev​entually 0 flow as well, but I think I need to fig​ure out the timing of one counter before I add ano​ther as it seems I can't have two counters in the ​same task). Any help on this would be greatly appr​eciated.
    LabVIEW version 13.0
    cDAQ-9178 Chassis with NI 9401 for the two counter inputs and NI 9205 for the analog inputs.
    Thanks!
    Richard
    Solved!
    Go to Solution.
    Attachments:
    SimpleDAQ.vi ‏44 KB
    LV_Error.JPG ‏31 KB

    Maybe third times the charm? 
    So I've finally got a good handle on why the VI is having problems at low RPM though I'm somewhat embarassed how long it took me to do that
    Because I have the counter time synced to my Analog input task if it doesn't see at least two pulses between the two clock pulses set by the analog input task I get the -201314 "Multiple sample clock pulses" error. This seems fine at first as it just sets a minimum RPM that I can measure and it's well below the area I'm interested in so no problems there.  I tried a simple error handler that would clear the error when it happend assuming the loop would keep iterating until the RPM went above that minimum at which point I would get a signal again. This is not the case, the read function just continues to spit out the -201314 error even after the RPM is back in the readable range. So then I tried adding two case structures so that when the error occured it would stop the task, clear the error, and then start the task again on the next loop iteration (Code Attached). This also doesn't work as the error shows up again on the stop task and then AGAIN on the start task on the next loop iteration. It seems this error is not actually being cleared and once it happens it stays with the task regardless of what the error cluster is carrying. 
    Anyone have any ideas?  The only solution I can think of is to just clear all tasks and recreate them each loop iteration until the RPM is readable again but that strikes me as a horribly clunky solution.
    Richard 
    Attachments:
    SimpleDAQ_1_Start Stop.vi ‏48 KB

  • How to send the mail with multiple file attachments ?

    Sending mails with multiple files as attachments.

    You need to start from the app, assuming that it has an email function, that contains the files that you want to send as attachments. The Photos app allows you to send up to 5 photos on the same email, but if you want to send multiple file types then you need an app that supports all those file types. I use the GoodReader app which supports quite a few document/file types (e.g. PDF, Excel, Word, pictures), and from that I can select multiple files (including different types) and attach them to the same email.

  • SQL Script - error in executing the select with multiple conditions

    Hi gurus,
    I'm having trouble in the command syntax below:
    SELECT * FROM "TEST_RVS"."VH_TEST"  WHERE   "AUFNR" = 20210807 AND  "BWART" = 101.
    WHAT IS THE CORRECT SYNTAX WHERE TO CONDITION WITH MULTIPLE FIELDS?
    Thanks !

    What is the error you are getting?  Did you try wrapping the values with quotes?
    SELECT * FROM "TEST_RVS"."VH_TEST"  WHERE   "AUFNR" = '20210807' AND  "BWART" = '101'.
    Cheers,
    Rich Heilman

  • Remote access the airport extreme usb hard drive over the internet with multiple users?

    I just purchase the new airport extreme 802.11n and set it up on my LAN behind a comcast modem with broadband.  I plugged a 3 tb Seagate hard drive formatted with fat32 (default) to it and have set it up for access for all of my computers, ipad, iphone, android in my house.  Everything works as expected, internet access, file access to the USB HD on all devices locally through back to my mac.  I would now like to allow my daughters in another state to access this drive through the Airport Extreme remotely from their location and have there own accounts on this hard drive to store and move their files for on the go access.  I have studied many of the forums and have enabled share disks over WAN, Enable file sharing but no body really gives an exact method of connecting remotely.  I had one of my daughters try on her Macbook Pro laptop through the finder, connect to server, by giving her the IP address.  She could see the name of the Airport Extreme but could not access the hard disk and got a "Not able to connect message".  I am obviously missing something simple that needs to be checked or setup but have drained my brain trying to figure it out.  Most of the forums describe clicking manuel setup on the Airport utility, but with version 6.1 this is now where to be found.  I have a DYN account but could not figure out where to input this in the Airport utility.
    There is a network option which has DHCP lease and range and a box for Enable NAT port Mapping Protocal with Enable default host at:
    I am guessing that this is for some other purpose though.  Please help

    Try installing AirPort Utility 5, then you may be able to follow the guides you mentioned earlier:
    http://macintoshdesktop.blogspot.co.uk/2012/12/airport-utility-56-and-mountain-l ion.html

  • Finding the LCD with multiple numbers

    public static void main(String[] args)
              Scanner keyboard= new Scanner(System.in);
              System.out.print("Input how many numbers are going to be in this array ::");
                 int[] a = new int[keyboard.nextInt()];
              for(int i=0; i<a.length; i++)
              System.out.print( "enter an integer :: " );
              a[i] = keyboard.nextInt();
    Arrays.sort(a);
              for(int i=0; i<a.length; i++)
              for(int j=0; j<a;j++)
    }This is what i have so far but i don't know what to put in the nested loop so i can get it to work. Anyone have anything that can can help me So i can find the least common denominator(least common multiple) of any set of numbers?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I forgot exactly how LCD works on explanation but i know the LCD of 3,6,and 9 is 18The lowest common multiple of 3, 6 and 9 is 9 (not 18)
    The highest common factor of 20, 30 and 60 is 10.
    If we have a fraction where the numerator and denominator are both integers we can rewrite it (again using integers) so that the new denominator is a multiple of the old one. For a group of such fractions the LCM of the denominators might well be called the lowest common denominator.
    The two concepts are related by LCM(a,b)=a*b/HCF(a,b)
    HTH.
    You should be able to google for some way of calculating the HCF/LCM - it's been around since before the time of Euclid!
    Edited by: pbrockway2 on Mar 30, 2008 5:49 PM
    AKA least common multiple and greatest common factor

  • There used to be a special feature on the previouse versions of Firefox. when you close the firefox with multiple tabs opened it displays an option of saving it or closing without saving. but this version specially the 7th doesnot have that.

    specially version 3.6 is good on saving the tabs before closing the firefox. but the latest versions should have had more that just this but it doesnt support the saving tabs or may be i didnt see it there. please if it has this feature let me know.
    the other thing is the norton toolbar 2011.7.1.3 is incompatible with firefox 7.

    Firefox 4 and later versions save the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    Use "File > Exit" or "Firefox > Exit" (Mac: "Firefox > Quit Firefox") if you want to restore multiple windows.<br />
    You can use "History > Restore Previous Session" to get the previous session at any time.<br />
    You may need to click the orange/gray Firefox button to see History.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.
    Using the "Show my windows and tabs from last time" setting is a more reliable way to restore session data.
    * [http://kb.mozillazine.org/Menu_differences Firefox/Tools > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • How to create the query with multiple node types

    Hi,
    I am having an issue in creating a query to search multiple node types.
    The requirement is to query documents/pages of the type dam:Asset and cq:Page present under a path.
    I tried the following code snippet with no luck .
    path=/content
    1_type=cq:Page
    2_type=dam:Asset
    property=jcr:content/metadata/@cq:tags
    property.1_value=<tag Name>
    I was able to write a query with single type. However i could not find any documents/ materials with multipe types as shown above.
    Thanks in advance.
    Regards
    Sudhi

    I don't think multiple type is possible. Instead use super type like nt:base that will cover both page and asset.
    Yogesh
    www.wemblog.com

  • When I have two browser windows open, the first with multiple tabs the second a window opened from a link (so just one tab), and close the second window, I receive the Quit Firefox prompt, "do you want to save tabs...?"

    This was happening with FF 3 before upgrading to 4, and was not happening with FF4.0 until the 4.0.1 update was applied, the first time it ran. Same issue on another computer running FF3, so may be a extension related problem.
    If I have three windows open and close the third, I do Not get this. Only when two are opened and one is closed. I could have three, close one, then the second and get the prompt.
    Not disabled extensions
    Adblock Plus
    BugMeNot
    Cooliris
    Download Statusbar
    DownloadHelper
    DowntThemAll!
    FireGestures
    HTML5 Extension for Windows Media Player
    HTTPS-Everywhere
    Java Console
    PDF Download
    Session Manager
    TinEye Reverse Image Search
    YouTube Comment Snob
    Disabled

    Does that 2nd window have a '''Close Window''' hyperlink on that page and you are using the X in the upper right corner of that 2nd window to close it?

  • Using the Airport with Multiple Macs

    I have three Macs in my house. An eMac, an iMac and an iBook. All three are wireless, we have an Airport. However, we have to reset the DSL everytime we use a different computer. Is this a problem with the Airport or our DSL service? If it's the Airport, what can I change so that we can all use the DSL at the same time?
    iBook G4   Mac OS X (10.4.8)   Airport

    Welcome to the discussions.
    Your problem is how you are confiqured.
    1. Make sure that the drivers are set to infrastructure mode and obtain IP auto.
    2. Router's DHCP On. (Static IP will work too if set correctly.)
    3. Make sure that the Router does not have any MAC or IP filtering on.
    4. Disable WEP/WPA on both devices.
    5. Set the SSID and channel of the Router and the Client card to be is same.
    Don

  • Office 2010 & 2007 - Excel and Access File Locking Out On the Network With Multiple Users

    This is also posted in the Office 2010 - IT Pro General Discussions, but was suggested to repost here, since a definitive answer was not found.
    Hi,
    An issue that's happening is that Excel and Access files are locking on the network. We're currently using Office 2007 and 2010.
    Here are some different scenarios that are happening:
    When opening the file it is locked out by “User X” which is the person that has the file locked out and no one else can open the file.
    When opening the file it is locked out by “User Y” which is NOT the actual person, but is locked out by “User X” and no one else can access the file.
    When opening the file  it is locked out by “…another user” which is generic and no one else can access the file.
    The two more common events are incident 1 and 2 with 3 happening the less common.
    This message will continue until the sessions are closed through computer management on the file server.
    The file server is running Windows Server 2003.
    This does happen on both Windows XP and Windows 7 clients.
    This does happen for users using Office 2007 and Office 2010.
    There are two sets of Office 2010 Users when it comes to patches. Everyone has the most current patches with Office 2010 SP2 while anyone that has Microsoft Project 2010 is using all the current update before Office 2010 SP2.
    All users that are using Office 2007 have all the current patches and service packs.
    Another variable is that we have users that will leave a file open on the network for 3+ days and after a while it will lock the file out.
    Also we have Shadow Copy that runs daily on the system which I'm not for sure if that impacts anything if a file is opening during that time.
    Any ideas on how to mitigate the lock out issues would be appreciated.
    Thanks,
    Binary Process
    Edit November 12, 2013: This issue can occur if and if not another person actually has the file open. If the person doesn't have the file open then there is a hung connection which needs to be disconnected by going to the Computer Management of the File
    server.

    Hi Binary,
    I know that the description of the hotfix does not relate to the issue. The purpose is to install it for upgrading SMB related file.
    A similar issue I encountered before:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/b7fcc59b-52d9-4a02-863a-1a529bcb8cb1/temp-doc-etc-files-dont-close-after-a-file-closes-this-causes-locked-files?forum=winserverfiles
    It is resolved by upgrading SMB files so maybe it will help on your case.
    Another hotfix which may related:
    http://support.microsoft.com/kb/983458
    If you have any feedback on our support, please send to [email protected]

Maybe you are looking for

  • Check printing to handle payment to alternative payee

    Hi, Requirement For our customer, alternative payee is not currently configured. Finance manually nets the amount between two vendor and then process check payment. Hence we have a requirement to automatically print a single check for payee and alter

  • Enabling server-side load balancing with Oracle 10g RAC

    Hi, all. I created a RAC database on vmware by using DBCA. By default, remote_listener and tnsname.ora have been configured. The followings are part of dba_services from my RAC database. NAME, GOAL, ENABLED, CBL_GOAL SYS$BACKGROUND NONE NO SHORT SYS$

  • Change Decimal point to comma: N.NNN,NN

    Hello, I want to display a curr value in this format N.NNN,NN no matter what the user setting is.. It shud always print like this. I have checked this frm USR01-DCPFM, but not able to do it correctly. IF USR01-DCPFM eq 'X'. REPLACE ','  WITH '.' INTO

  • Where is the Feedback Link

    Everytime I post to the Discussion List, they say I should send a note to "Feedback" That is fine, but finding the "feedBack" link is not easy. Why isn't the "FeedBack" link on all of the Discussion List pages/sections/products???

  • Media Off-Line

    I have read a few threads on the subject of people wanting to find media that went off line or what can be deleted with out harming the project. While all that was helpful, it did not answer all my questions. What I would like to know is if I have fo