How to setTextformat start from " " then end with " " ?

when everytime i received a word, example " Hi, my name is
<alice>"
i want set the setTextformat to word between < and >
got any solution?

use 'indexOf' twice - once for the opening '<' and one for
the closing '>'.
once you have the index of both of them, use the
'setTextFormat' with start
index and finish index.
you can find our more in the help files.
good luck,
eRez
www.allofme.com

Similar Messages

  • SSAUDIT .alg and .atx files are out of synch. How do I start from scratch ?

    After upgrading Hyperion Planning from 11.1.1.3 to 11.1.2.1, the .alg and .atx files that are generated when SS Audit is enabled are now out of synch. How do I start from scratch again ? Stated differently, the row numbers in the .alg file no longer correspond to the .atx rows. How do I "reset" these files so they start again in row 1 ?
    I know this must have happned to someone else so I thought a solution could be easily googled and found. I can't find it anywhere.

    Stop the application and delete the files. If you want to just keep the changes from the last backup, change in the essbase.cfg SSAudit to SSauditR and then when you do an endArchive it will delete the files and start over

  • I created an album and have been showing it presentation style, ken burns effects etc. Now every time I try to re-run it it starts from the end, last picture first! Can't seem to be able to reverse it. Any clue anyone?

    I created an album and have been showing it presentation style, ken burns effects etc. Now every time I try to re-run it it starts from the end, last picture first! Can't seem to be able to reverse it. Any clue anyone?

    First try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iPhoto's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
    or with Lion, Mt. Lion or Mavericks delete the contents the User/Library/Containers/com.apple.iPhoto/
    Data/Library/Caches/com.apple.iPhoto folder.
    3 - reboot, launch iPhoto, reset iPhoto's preferences and try again.
    NOTE: In Lion and Mountain Lion the Home/Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and press the Return key - 10.7: Un-hide the User Library folder.
    If you're running Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.
    Next, if necessary, continue with the two fixes below in order as needed:
    Fix #1
    1 - launch iPhoto with the Command+Option keys held down and rebuild the library.
    2 - run Option #4 to rebuild the database.
    Fix #2
    Using iPhoto Library Manager  to Rebuild Your iPhoto Library
    1 - download iPhoto Library Manager and launch.
    2 - click on the Add Library button and select the library you want to add in the selection window..
    3 - Now that the library is listed in the left hand pane of iPLM, click on your library and go to the Library ➙ Rebuild Library menu option.
    4 - In the next  window name the new library and select the location you want it to be placed.
    5 - Click on the Create button.
    Note: This creates a new library based on the LIbraryData.xml file in the library and will recover Events, Albums, keywords, titles and comments but not books, calendars or slideshows. The original library will be left untouched for further attempts at fixing the problem or in case the rebuilt library is not satisfactory.
    OT

  • How to retrive data from selected checkboxes with fieldnames

    hi experts,
    how to retrive data from selected checkboxes with fieldnames into another alv grid report.(here the fieldnames selected from  table names is dynamically).
    thankx in advance
    rani.k.

    Hi,
    Use user_command in the alv grid and then
    do the follwoing code
    FORM user_command1 USING lv_ucomm LIKE sy-ucomm
                      rs_selfield TYPE slis_selfield.
    Declaration of local Variables
      DATA : lv_ref1 TYPE REF TO cl_gui_alv_grid.
      DATA lv_cnt TYPE i.                                    "+INS SUHESH 12.07.2008
    Check function code
      CASE lv_ucomm.
        WHEN 'ONLI'.
          CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
            IMPORTING
              e_grid = lv_ref1.
          CALL METHOD lv_ref1->check_changed_data.
    now loop ur final internal table where check = 'X'.
    now pass data to other internal table..Now the internal table will be having values that the user selcetd on the screen.
    Hope this helps.
    Regards,
    Nagaraj

  • How i can print from my iPad with airport expres

    How i can print from my iPad with airport expres

    Hi - you would need to purchase a printer that is enabled to print from an iPad, iPhone or iPod - these would include ePrint, iPrint and AirPrint printers - you would then install the appropriate app on you iPad and be able to print - the installation setup for each type of printer would enable you to do this.

  • HT201269 how to transfer music from pc running with windows7 to iphone

    how to transfer music from pc running with windows7 to iphone4

    Just connect your iPhone to pc and open the iTunes then go to the option showing [add file to library or add folder to library in file option] on your left side of the desktop screen and click on apply and then sync.
    That's how I transfer music from computer to iPhone.

  • How to compare result from sql query with data writen in html input tag?

    how to compare result
    from sql query with data
    writen in html input tag?
    I need to compare
    user and password in html form
    with all user and password in database
    how to do this?
    or put the resulr from sql query
    in array
    please help me?

    Hi dejani
    first get the user name and password enter by the user
    using
    String sUsername=request.getParameter("name of the textfield");
    String sPassword=request.getParameter("name of the textfield");
    after executeQuery() statement
    int exist=0;
    while(rs.next())
    String sUserId= rs.getString("username");
    String sPass_wd= rs.getString("password");
    if(sUserId.equals(sUsername) && sPass_wd.equals(sPassword))
    exist=1;
    if(exist==1)
    out.println("user exist");
    else
    out.println("not exist");

  • How to extract data from XML file with JavaScript

    HI All
    I am new to this group.
    Can anybody help me regarding XML.
    I want to know How to extract data from XML file with JavaScript.
    And also how to use API for XML
    regards
    Nagaraju

    This is a Java forum.
    JavaScript is something entirely different than Java, even though the names are similar.
    Try another website with forums about JavaScript.
    For example here: http://www.webdeveloper.com/forum/forumdisplay.php?s=&forumid=3

  • How to get string from jtextpane along with its attributes

    sir,
    How to get string from jtextpane along with its attributes
    i,e font,size,style,color etc.
    please help me out.
    my mail id is [email protected]

    JTextPane extends JTextComponent
    JTextComponent.getDocument()
    a Document is a set of Element, see Document.getRootElements(). Each Element has attributes, stored within an AttributSet object see Element.getAttributes()
    a Document can also be rendered as a String, see Document.getText( offest, length ), use it with 0 and Document.getLength() as parameters.

  • Attempting to restore ipad, recovery starts and then quits with msg saying ipad cannot be restored, error 3014

    attempting to restore ipad, recovery starts and then quits with msg saying ipad cannot be restored, error 3014

    Try the troubleshooting on this page : Error 3194, Error 17, or "This device isn't eligible for the requested build".

  • How to transfer contacts from LGENV2 (maybe with USB)?

    We recently purchased smart phones for our daughters.  They were very quick to get their phones out of the boxes and activate their phones.  Well, they hadn't backed up their contacts (or anything on their phones) before activating their new phones.  We now can't find a way to use Backup Assistant from the old phones (all are LGENV2s).  We do have the USB cable to connect the phones to our PC.  We'd appreciate any help.  Thanks.

    Thanks.  I paired them, and tried to send "namecard" (checked all the contacts), but the other device (iPhone 4s) isn't connecting.  Any ideas? 
    Date: Tue, 25 Dec 2012 14:06:52 -0700
    Subject: Re: How to transfer contacts from LGENV2 (maybe with USB)? - Re: How to transfer contacts from LGENV2 (maybe with USB)?
                                                                                    Re: How to transfer contacts from LGENV2 (maybe with USB)?
        created by archeryhunter1993 in Basic Phones - View the full discussion
    You can actually use Bluetooth to transfer contacts! Just make sure they are paired together.
    >Personal info deleted<
    Message was edited by: Verizon Moderator

  • How to get substring from string starting from the end of string

    Hi
    How to cut from string:
    $A=C:\ClusterStorage\Volume1\WXP-plwropc300\Virtual Hard Disks\WXP-PLWROPC300_EE20E00F-315E-4781-A6DE-68497D4189B8.avhdx
    this substring (name of VHD file): WXP-PLWROPC300_EE20E00F-315E-4781-A6DE-68497D4189B8.avhdx
    This script should be universal so the best way to be cut all leters from the end of string $A till get the first mark \
    Thank you for help.
    Tomasz
    Kind Regards Tomasz

    PS > Split-Path 'C:\ClusterStorage\Volume1\WXP-plwropc300\Virtual Hard Disks\WXP-PLWROPC300_EE20E00F-315E-4781
    -A6DE-68497D4189B8.avhdx' -leaf
    WXP-PLWROPC300_EE20E00F-315E-4781-A6DE-68497D4189B8.avhdx
    PS >
    That is what "Split-Path" is for:
    ¯\_(ツ)_/¯

  • I have itunes set up to sync with my Ipod Touch and my Ipad.  As of today, it keeps looking for an iPhone to sync with and give me an error message.  I don't have an iPhone and don't know how to stop it from popping open with this error message.

    I have Itunes set up to sync with my Ipod touch and Ipad.  As of today, iTunes has started searching to sync with an iPhone, which I don't have and pops open with an error message stating it cannot locate the iPhone to sync.  I have looked in devices and only the iPad and iPod Touch are listed.  Any ideas on how to stop iTunes from searching for any iPhone it is never going to find? It is annoying to have it popping up all the time with the error message.  Thanks in advance for any suggestions.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • When using the LabVIEW Simulation Module, how can I start a frequency sweep with the Simulation Chirp signal generation VI at an arbitrary time after the simulation initial time?

    I'm using the Simulation Loop on LV RT when interacting with some hardware (i.e. all I/O is happening in the Sim loop). I'm going to conduct a frequency sweep test on the hardware and want to use the Simulation Chirp function. However, there is no way (that I can see) to trigger the Chirp to start at some event (i.e. I click a boolean on the front panel and enter a case statement). The Chirp is tied to the global time of the Simulation loop and so are it's input parameters. Is there a way to make it relative to some time at which an event happens?

    Craig,
    Your solution will 'cut' the beginning of the signal and only show the signal afterwards.
    To control when the chirp should start, the best option is to use the Chirp Pattern.vi ( in the Signal Generation palette) and use a Lookup table to control when to feed the time. The shipping example (in LabVIEW 2013) shows how to code using a lookup table.
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Chirp.vi
    Then, to start from a toggled boolean, look at the example:
    C:\Program Files (x86)\National Instruments\LabVIEW 2013\examples\Control and Simulation\Simulation\Signal Generation\SimEx Step.vi
    and Here is the example in 2013 (in attachment):
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments
    Attachments:
    SimEx Chirp with Delay.vi ‏241 KB

  • 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

Maybe you are looking for

  • Firefox crash when i open a new window

    Since last pacman -Syu i get this when i'm trying to open the preferences window or when i'm starting a download: *** glibc detected *** /opt/firefox/firefox-bin: free(): invalid pointer: 0x09458f40 *** ======= Backtrace: ========= /lib/libc.so.6[0xb

  • Using an external hard drive with iTunes r

    Hi there. I just bought a new mac book pro and would like to link my itunes to an external hard drive that I have consolidated all my mp3's onto so that I don't use all the memory space on my computer. I tried holding down the alt key when starting i

  • How to create index on a single parition

    Hi, I have a table which has got 7 partitons,I want to index only one partition how do it? i am using oracle 11g.Also i want to know if it is possible to create an index within a o partiotn only fr some values.. Edited by: user8731258 on Jul 13, 2012

  • Display all links on rollover?

    I want to create a div with links to various places within my site. I want the color of the links to blend into the background (red), and I understand how to do that. #div name a:hover { color: #000 But when I do this, each link only shows up one at

  • My own locations not showing up on map

    Hi, I'm creating my own locations for geo-tagging when iPhoto09 does not offer a suggestion. This is working fine and I can add the newly created location to an event. However, when I start locations and get the map overview, only the locations that