Make the first left ucase

I have disorder support ticket program that users will type their problems in a supplied domain and we send the question. We have an interface that lists the questions... (now, that's of course all cosmetic) sometimes the user starts with one tiny question. is there a way to take this first letter and replace it with ucase? I tried a lot of different things, but they all fail. the only thing that I think now is to take the left 1 letter and ucase, exit, then take the left most letter in another exit and drop it and the rest of the output. There must be a better way.

UCase (Left(yourvar,1)) gives you the first letter uppercase
LCase (mid (yourvar, 2, len (yourvar)-1)) give you the rest lowercase

If you are unsure how to concatonate, it would be a good time to learn.

Tags: ColdFusion

Similar Questions

  • To make the first page of the file as a hyperlink using the framemaker API

    How can I make the first page of the file as a hyperlink using the framemaker API?

    This should make the entire page as clickable to open the link on the pdf creation.

    Thank you

    ASHA Rayakar

    Hi Asha,

    If you have managed to make a hypertext link at all, you are on the right track. From your description, it appears you are trying to use an existing text frame to place your marker of hypertext, a block of text that already contains text. If you put a hypertext marker in a paragraph with text, in fact, the only area that is clickable will be this paragraph. There is nothing you can do about it... This is the main behavior of FrameMaker.

    If you put a hypertext marker in a block of text that contains zero text (not even a single space), by default FrameMaker making this whole image map area. So if you try to make a whole page clickable, you will draw a new block of text that covers the entire page and insert the marker of hypertext, without text. You can experiment with this manually in the GUI.

    In your code, you must use the credentials of the members tr.beg.objId and tr.end.objid FO_Pgf. Looks like you might be using variable ID which is incorrect. If you do not have an ID of the variable, you can find the location/range of corresponding text including the FP_TextRange property. This will return the good ID FO_Pgf you need.

    If you are looking for the text block that contains a variable, you can use something like:

    F_TextRangeT tr;

    F_ObjHandleT textFrameId;

    TR = F_ApiGetTextRange (docId, varId, FP_TextRange);

    textFrameId = F_ApiGetId (docId, tr.beg.objId, FP_InTextFrame);

    This help at all?

    Russ

  • How to make the first letter in a capitalized text field

    Is it possible for me to make the first letter of a capital of field if the user forgets to make capital? For example, in my form there is a field for the first name. I would like to enter into some type of Java script, so when the user off the field and the first letter tabs is not crucial, it will make capital. If I don't have to use Java Script, that will be fine too.

    Hello

    If it's just a word value, you can use this in the event exist;

    this.rawValue

    = util.printx (">?")<>

    This changes the first character (represented by the?) uppercase (represented by the >) and all the characters of tail (represented by the *) lowercase (represented by the)<>

    If you wanted something more general... If they could also enter a middle name, then you can call a function such as;

    function

    toTitleCase (textValue)

    {

    return

    () textValue.toLowerCase replace (/ \b [a - z] / g, function replace (match) {return match.toUpperCase () ;});})

    }

    This example uses a regular expression to change all lowercase letters, following a word uppercase boundary.

    Bruce

  • make the first line of each paragraph "BOLD"

    Hi all

    I read this forum, but I can't really find the answer, I need.

    Here's my problem, we intend to automate the flow of text in our Organization, that's what I have to do

    -read the input from the story of a database

    -flow text into a text box in particular for example 4.5 cm wide

    -each paragraph will be had 2 new lines

    -Select the first line of each paragraph then putting in bold.

    in the above list, I can do everything except the first paragraph selection and putting in bold. I am looking for the selection of text I see there is a function called textframe.select?

    Can someone help me with this please?

    This severely reduced your options. (Which reminds me, you can specify a detail important like that from the beginning the next time.)

    The simple solution would be to apply your "BOLD" font (or better: a character style) in the first line of each paragraph by using the property of a paragraph .lines. UH customary ‑‑ link to the HTML version of the omitted OMV, it seems I'm not coming back as much as CS2... (Is there a CHM for it to http://www.jongware.com/idjshelp.html).

    This should work:

    App.Selection [0] .paragraphs [0]. Lines [0] .appliedCharacterStyle = "YourBoldCharStyle";

    ... With your cursor in the paragraph you want to change. Will adjust to meet your specific needs.

    There is a drawback of the simple method. Unless you use a special police who makes bold with the same width as her (quite rare) usually, the text will be redistributed after he applied. So there are one or more words in bold on the next line, so you must remove the tank style "BOLD" of those. But! At that time InDesign may determine that these non-bold words may go back on the first line!

    Well written code does not help, because it could be possible the same word oscillates backwards with each change between the first and the second line, each time to cheat... At * some * point you'll have to help the poor ID a bit; perhaps to fix this first line with No Break applied.

  • Is there a way to make the first Firefox tab a tab permanent, white fixed?

    I would prefer, as the title suggests, to have my first Firefox tab to be a fixed permanent blank tab. In other words, he would never take the address of the first site I type or click on in the field address, but would act as tab "an anchor."
    Is this possible?

    You can set the pref browser.tabs.closeWindowWithLastTab false on the topic: config page to prevent the closure of the last tab to close this window and display a close button if only one tab is open.

    You can open the topic: config page via the address bar.
    You can accept the warning and click on "I'll be careful" to continue.

  • How to make the first page next page element value

    Hi all

    I have two pages namely a contact page and another page to enter the connection details

    The first "CONTACT" page contains the name and other details and e-mail, in the second page, I have a page named login element and I need to provide the email address that I have provided in the first page.

    I tried giving in the connection point as & P1_EMAIL source and I didn't clear any cache, but I don't have the email address.


    Thanks and greetings
    Srikkanth.M

    Hello

    Page element

    Type of source: Element (name of the application or page element)
    Source of value or an expression: P1_EMAIL

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • Are there specific codecs or import libraries that will make the first 6 use several types of files?

    Are there specific codecs or import libraries that will allow the first 6 import file types more?  I use 6 first on Windows 7.

    It seems that the only type of file which can be imported in this first release are certain types of AVI files... even certain types of notice will import but then will not appear when it is not placed in the timeline... no MPGs, MP4s, and WMVs, or something else will import at all.

    Virtually all the files I need to bring for first 6 must be converted into AVI with H.264 codec first.

    Any help would be useful.

    Digi

    I'm afraid not.

    Even if you were abel to import the first is not designed to handle these files.

  • How to make the right/left arrows to go at the end of the tabs tab

    This feature has been on my browser. If I double click on the arrow to the right tab, I would go to the last tab on the right. If double clicking on the left arrow tab, I would go to the last tab on the left. It made no difference how many legs were opened. Also, when I flew over the mouse or the other of these arrows, a number appeared how many legs were hidden from view. I don't remember what extensions did, or that it is part of an earlier version of Firefox.

    I'd appreciate any help to solve this problem. Thank you!

    3.6.13 being very little course, if you use it on the wild wild web, have you thought about the upgrade coming to 3.6.28? http://www.Mozilla.org/en-us/Firefox/all-older

    You could test whether the "how many tablets" feature was the result of an add-on by restarting Firefox 3.6 mode without failure of Firefox (Firefox to solve the issues in Safe Mode).

    First of all, I recommend you backup your Firefox settings in case something goes wrong. See back up and restore the information contained in the profiles of Firefox. (You can copy your profile folder Firefox together somewhere outside the Mozilla folder).

    Then, close all Firefox Windows and restart Firefox now press SHIFT. In the Safe Mode dialog box, do not check the boxes, just click "continue mode without failure." If the tab bar controls always indicate the number of hidden tabs, a built-in feature. If this isn't the case, it was an extension. Some people might have been migrated to Firefox 14, but some have never were...

  • How to make the first page my homepage, Privacy page not Firefoxe

    Prior to version Firefox 29 brought to the top of my home page - the only one. Now, no matter what I said to be on the 'privacy' page Firefox home page is loaded first with my homepage as a secondary (and not shown) page.
    Loading the page confidentiality loses time CPU and is aggravating. How can I disable this key, the default page?

    This can result in problems with the files that store the preferences and possibly other files as the file compatibility.ini.
    You can have security software that protects certain files from changes.

    Delete a possible user.js file and files numbered prefs-# .js and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

    You can use this button to go to the Firefox profile folder currently in use:

  • Table: make the first 2 rows as the title...

    In an existing Table:

    How can I do first two rows as a topic lines, so it can be repeated on each page?

    Could not find this option in the paragraph designer or table designer.

    Thank you.

    Even easier, when the table is selected, use the Table > add lines or columns, and then specify the number of required header lines:

    Then just cut & paste the lines into the new title lines.

  • Composition Widget - make a the first picture shown a particular thumbnail view stacked

    Someone knows how to do a special thumbnail of the first image shows a view stacked? I have dozens of thumbnails square, arranged from left to right, top to bottom and all their targets next to this block of thumbnails in a stacked view. When the site is loaded, the first thumbnail to show is the 7th thumbnail! How to make the first thumbnail in the block of the first to show when the page is loaded?

    What describes Brad, this is how it is supposed to work.

    How is the site being downloaded (via publish, upload to FTP host via an external FTP program)?

    What are the options set for the widget of Composition? (Display of a screenshot is easier).

  • Field of password missing on the first EHF home screen in Windows 7 Professional

    My first homescreen under Windows 7 professional small account and name but picture shows NO password field. Only after hitting enter or mouse left click password field contains a second Green with the larger picture of the account and the name. How can I change to make the first home screen shows the two account/name of the image as WELL AS password field? Your advice much appreciated.

    Hello

    If I understand the question, you don't get password filed the first home screen. You must press on enter or left click the mouse to get the password field. Please let me know if this is not correct.
     
    To make you must hit enter or click with the left button of the mouse to get the password field, it's normal.
     
     

    Hope this information helps you. If you need help or information, please reply to this message. I'll be happy to help you.

  • Change the case of the first character in the lists in InDesign CS6

    Hello

    I have a few long documents that contain lists that look like this:

    • Lorem ipsum dolor sit amet, 195kgs Adipiscing elit
    • SED turpis elementum hendrerit lacinia lorem convallis
    • sed has nibh tortor non commodo lobortis sed felis.

    Now I need to make the first character in each list of capital letters, IE:

    • Lorem ipsum dolor sit amet, 195kgs Adipiscing elit
    • SED turpis elementum hendrerit lacinia lorem convallis
    • Sed has nibh tortor non commodo lobortis sed felis.

    The problem is there is a CAP in the lists that must be maintained, and I can't create a list of exceptions (words to ignore).

    Is it possible to change only the first character in the list in capital letters?

    The lists are in style.

    Any help would be appreciated, thanks :-)

    Hello

    This will make real ceiling, but it is not dynamic.  It could be made dynamic with an event listener, but it's probably not worth.

    Be sure to change the names of paragraph on script style

    // By Trevor http://forums.adobe.com/thread/1068926?tstart=0
    #target indesign
    #targetengine main
    app.doScript("main()", ScriptLanguage.javascript, undefined, UndoModes.FAST_ENTIRE_SCRIPT, "Capitalise Lists By Paragraph Styles");
    function main()
    {
    var  myDoc=app.documents[0],
           myStyles = ["Paragraph Style 1", "Paragraph Style 2", "Paragraph Style 3"], // change to correct style names
           l = myStyles.length, myFinds = [], fl;
    
    app.changeGrepPreferences = app.findGrepPreferences = null;
    app.findGrepPreferences.findWhat = "^\\l";
    while (l--)
        {
        app.findGrepPreferences.appliedParagraphStyle = myDoc.paragraphStyles.itemByName(myStyles[l]);
        myFinds = myDoc.findGrep();
        fl = myFinds.length;
        while (fl--) myFinds[fl].contents = myFinds[fl].contents.toUpperCase();
        }
    }
    
  • How do to "BOLD" in the first line of text on a number of sections of text at a time

    CS5 using (but we have CS5

    .5 available) we will create a business directory. Each page has columns of type

    business listings with the company name on top, under this address under this phone, etc.  Each ad is separated

    by a single line. There are thousands of ads, and we need to "BOLD" in the top line of each. How can do us

    without making them individually?

    Each line a paragraph, or each list a paragraph with soft returns (forced line breaks)?

    It's very simple and basic in both cases an operation. It is especially easy if each ad has the same number of lines, so we will focus first with this case.

    Each line should be a separate paragraph. If you have 4 lines, as your example, you might want to mention their name, street, city, and phone. You can and should, all the styles that will be similar in appearance on the same basic model and change only the atrributes that are different, so, for example, if all lines use the same font, many use the same size and weight and only the top line is different and only by being "BOLD" and or larger size start by defining the street, then city and phone based Street and you don't need to define something more than the next Style, I'll get to in a second.

    For topics, set name based as well on the street, but change the font characters. Now all the features of the basic fonts can be changed in one place, the definition of the style Stree.

    Since you have the same number of lines in each list, you can set up a loop "next style". For name, style next street is, the street is the city, for the city it is the phone and is name for the phone. You will also need to toe after the add space in the name, or space on the phone to book spaces registration and you probably also consider to assign everything except phone keep with the next line to prevent a list from breaking across a page or column break. If currently you have blank lines as separators (empty paragraphs), get rid of them. There are change queries find already registered in ID that will do that.

    Once the text is in place and the styles are defined, you can select all, then right click on the style name in the paragraph Styles Panel and choose apply following Style and name. Reformatted your entire list. IT IS CRITICAL in this method that the structure of each list is identical, and if there are no empty lines between the lists.

    If each line is a paragraph, but there is line different counts, you will probably reach with just two styles, one for the headings oand one for everything else, but the beat of following style will not work. If there is something unique that appears in all the headings you can use find/replace to make search and reformat in shape, but I suspect that this will not be the case on in the real world, there will be a manual work involved.

    Where a lisitn is a single paragraph, line break forced (which is better suited to the case of an uneven lines by registration number) you can define a character style nested to be applied by means of a line break forced to make the first line "BOLD", red or any other thing you want.

    At this point, you are probbly, noting that a bit before planningn is a good idea when you do a directory so that your ads have some sort of coherent structure that allows for automation. I have no idea whre that your text is coming from or how it is done in the code. If it can be established as a .csv or a tab-delimited text file, you can use data merge to fill a file based on a model of merge (i.e., how to build directories for my clients who need). You can set styles in the model to each field or paragraph that contains several fields, and merge data will remove empty lines if all row fields are null and there is no punctuation or whitespace on the line.

    A multiple records per page fusion will give you individual blocks of text for each record, and you can, if you wish, thread them using the script text point of Rorohiko.com.

  • Create the first play you can't ignore

    Can't believe that I don't have a result when I searched the 1st game but anyway:

    Is there a way to make the first ala unskippable play the warning from the FBI about a movie?

    Your video from beginning is therefore on a timeline say "intro".  Set it to the first piece of theatre.  And its end action will be your menu or the next item.

    Select this chronology and define the operations of the user 'None '.

    http://help.Adobe.com/en_US/Encore/CS/using/WSbaf9cd7d26a2eabfe807401038582db29-7f7ca.html

Maybe you are looking for

  • Point to the new terms of AGREEMENT?

    I've read and if all goes well digested the new conditions but could not find the usual point of AGREEMENT.   Sent an email too.   Cannot install latest iPad Apps - password for iTunes help refusal

  • AdBlocker keeps disappearing

    I was glad with no problems for centuries, but he just disappeared one day. As in, he's going to go to work with the small icon in the browser, to be simply missing, no notification, no icon and of course advertising not being blocked, and don't chec

  • Why does a download link if I click on it.

    If I just move my mouse over a link or webpage without left click it automatically down load it. Help!

  • WUNPACLN.dll was not found.

    I installed the most recent Cricket's broadband and uninstall the other older versions I had. When I did, I now can not connect to internet. Is the box that appears when I try mPhonetools.exe - Unable to locate component This application has failed t

  • Failed to upgrade the kernel

    I m run the upgrade of the DMS to 5.2 so everything first, I had to go to 5.1, now I m trying to update core A1 in DMP4305 but when I creates the task advanced to a firmware that I can not choose the file I need after that I have to download as a new