Inserting more than one space in a string.

I have a string "Text to beprinted."
How can i insert three spaces between be and printed in the string.We can not use three spaces inside single quotes.Its not working.If we ll use "Separated by spaces" it will add one space.if we want to insert two more space.How to do it.
Thanx in advance.
Rudra

Hi Rudra,
If you give Separated by Spaces it adds only one space between them. So you need to specify the spacing .
Concatenate 'Hi' 'how' '    ' 'you' separated by space.
Then you will get the out put as
'Hi How     you'.
Rewards if useful.
Thanks,
Murthy

Similar Messages

  • More than one Spaces are getting trimmed on BizTalk BAM portal

    Hi All,
    We are implementing BAM at our customer place , we observed ,if any field  contains more than one space in input file then these spaces are getting trimmed in single space,however it is correctly sitting in the BAMPrimaryImport  database 
    For example if input file ,which is processing through BizTalk, and if any field which value is "AB  CDE" (field contain three space here ) then in portal it is appearing as
    "AB CDE" (Only one space here) by default 
    I am not sure how theses values are displayed in portal and how to relove this default behiaver of BAM Portal, if somebody have faced this situation then i will appreciate your help please
    Thanks
    Yash

    Well then I guess it's a Portal issue (yes you already knew that!) :-)
    I know not everybody agrees with me, but the way I look upon it, the Portal should not be used as a product, but merely as a testing tool and inspiration as to what one can build on top of ones BAM activities. In other words, if you need to present your
    BAM data to users, you should build your own; Pivot Tables, Reporting Services, ASP.NET Web sites etc. etc. on top of it.
    Don't know if this is true, but I've heard that the BAM portal was a beta-product that shipped for the first time with BizTalk Server 2006 without being completed, and no code changes has taken place since.
    Morten la Cour

  • Insert more than one contact in the same page/document

    Hello,
    I have tried without success to insert more than one contact into the same page of a document.
    For example, if i insert 2 Address book fields in a page, when i drag a contact from the address book then it populates automatically the 2 fields, and it is impossible to separate these fields and to populate them with 2 different entries (on the same page).
    And when you drag more than one contact to Pages, it asks you if you want to create one document per contact.
    Would it be possible to just insert 2 or more different contacts on the same page/document ?
    Thanks in advance for any help,
    Fred.

    Unfortunately, this can't be done with Pages, nor could it be done with AppleWorks. I think the assumption is that you would merge into a letter & one letter sent per person. In checking the 3 postcard templates in Pages 3, none of them have address book fields to drop contacts into.
    There is a workaround, but it might not be worth the effort. Create your postcard as a single, large document in page layout in landscape & merge to a new document. Then, in the print dialog, choose Layout from the drop-down menu that says Copies & Pages & choose 4 from the Pages per Sheet menu. You might also want to add a hairline border for cut lines.

  • More than one icon in a string

    Hello everyone,
    Is it possible to have more than one icon in a string? Something like:
      CONCATENATE '@S_OKAY@' 'dd' '@S_OKAY@'  INTO t_text.
      WRITE: 35 t_text AS ICON.
    I could not find any information about this possibility.
    Regards,
    Cláudio Ramos

    may be you can try like this..
    REPORT  ZTEST2.
    data: t_text1(10) value '@S_OKAY@',
          t_text2(10) value 'dd',
          t_text3(10) value '@S_OKAY@'.
    WRITE: 10 t_text1 AS ICON.
    WRITE: 20 t_text2.
    WRITE: 30 t_text3 AS ICON.
    Thanks
    Satyasuresh Donepudi

  • How to insert more than one row in an Oracle table in one go

    Hi All,
    I am working on a file-XI(BPM)-Oracle scenario.
    I am sending an xml file to XI via a file adapter. On the receiver end i am using a jdbc adapter to insert the row in the database. There is a transformation step within the BPM which is converting the file to a format understood by the JDBC adapter.
    The problem i am facing is that, even if my input xml file contains more than one recordset, only one row is created in the database with the first recordset.
    How can i insert all the other recordsets in the database at the same time.
    Pls guide
    Thanks in advance.
    Regards
    Neetu

    Hi,
    As asked by Bhavesh, i set the occurence of the STATEMENT tab 1 to UB. But still only one row is getting updated in the database at a time.
    As asked by Udo, i even tried the same by changing the occrence of ACCESS tab 1 to UB. But still same thing happened.
    Can there be some other problem.
    The transformation is being dane in the BPM.
    As seen in SXMB_MONI, the input xml to the BPM has two RECORDSET tags but the output generated xml in the format understood by jdbc adapter has a single STATEMENT tag.
    The two formats are given below
    <b>Input:</b>     
            <?xml version="1.0" encoding="utf-8"?>
         <ns:MT_Test_File xmlns:ns="http://namespace-EmpNumberGen">
         <EmpGenRecord>
              <APPLICANT_NO>20</APPLICANT_NO>
              <FIRST_NAME>abc</FIRST_NAME>
              <LAST_NAME>xyz</LAST_NAME>
              <FUNCTION>ADMIN</FUNCTION>
              <DESIGNATION>ZA</DESIGNATION>
              <RESPONSIBILITY_LEVEL>dd</RESPONSIBILITY_LEVEL>
              <RECRUITMENT_TYPE>dd</RECRUITMENT_TYPE>
              <EMPLOYEE_TYPE>p</EMPLOYEE_TYPE>
              <STATUS>A</STATUS>
              <***>M</***>
         </EmpGenRecord>
         <EmpGenRecord>
              <APPLICANT_NO>14</APPLICANT_NO>
              <FIRST_NAME>abc</FIRST_NAME>
              <LAST_NAME>xyz</LAST_NAME>
              <FUNCTION>ADMIN</FUNCTION>
              <DESIGNATION>ZA</DESIGNATION>
              <RESPONSIBILITY_LEVEL>dd</RESPONSIBILITY_LEVEL>
              <RECRUITMENT_TYPE>dd</RECRUITMENT_TYPE>
              <EMPLOYEE_TYPE>p</EMPLOYEE_TYPE>
              <STATUS>A</STATUS>
              <***>M</***>
         </EmpGenRecord>
    </ns:MT_Test_File>
    <b>Output</b>
            <?xml version="1.0" encoding="UTF-8"?>
         <ns0:MT_Emp_No_Generation xmlns:ns0="http://namespace-EmpNumberGen">
         <Statement>
              <SAP_EMPGEN action="INSERT">
                   <access>
                   <APPLICANT_NO>20</APPLICANT_NO>
                   <FIRST_NAME>abc</FIRST_NAME>
                   <LAST_NAME>xyz</LAST_NAME>
                   <FUNCTION>ADMIN</FUNCTION>
                   <DESIGNATION>ZA</DESIGNATION>
                   <RESPONSIBILITY_LEVEL>dd</RESPONSIBILITY_LEVEL>
                   <RECRUITMENT_TYPE>dd</RECRUITMENT_TYPE>
                   <EMPLOYEE_TYPE>p</EMPLOYEE_TYPE>
                   <STATUS>A</STATUS>
                   <***>M</***>
                   </access>
              </SAP_EMPGEN>
         </Statement>
         </ns0:MT_Emp_No_Generation>
    This is a bit urgent.
    Pls help
    Regards
    Neetu

  • How can i insert more than one record a time in a JSP page?

    Hi experts,
    I'm working with JDeveloper version 3.2 application server 9i.
    I want to insert more than 1 record using a jsp page and then perform a commit at the end.
    do you can help me with this problem/challenge?
    Thank you,
    Regards,
    Mario

    statement.executeBatch() maybe?

  • Removing more than one underscore in a string

    Hi All,
    i have column called tax_name, it stores the values as
    1. 'Service @ 5 %'
    2. 'Service Tax - Consulting Services' etc..
    using RTRIM(LTRIM(SUBSTRB(REPLACE(TRANSLATE (
    i have converted them to Service__5_Amt, Service_Tax__Consulting_Amt etc.. using
    Now how to remove more than one underscore from above literals.
    There may be many underscores consecutively due to the conversion of wild characters into underscores.
    if there are three wild characters continously there will be three underscores. So i want remove those and put only 1 underscore.

    Or
    SQL>  with t as (
    select 'Service__5_Amt, Service_Tax__Consulting_Amt etc..' str from dual
    select str, regexp_replace(str,'_{2,}', '_') str2 from t
    STR                                                STR2                                             
    Service__5_Amt, Service_Tax__Consulting_Amt etc..  Service_5_Amt, Service_Tax_Consulting_Amt etc..  
    1 row selected.

  • Why can't I type more than one space in a split-view in DW

    Say, I am an a split view in a Dreamweaver CS5 and I'm typing in the right view (whatever it's called), but for some reason I can't type more than a single space there. Can I disable that?

    Thank you, Curtis. One thing that needs to be added to your post is that one has to restart DW for this setting to take effect. (Well, that may be a bug.) But it still doesn't fix the issue (read below.)
    As for the other two comments, I hate when people try to pigeonhole something without even trying to understand someone's situation. Did I say that I would be using it for a layout?
    Here's why I need it. Say, I'm working on typing a paragraph of text. My preference is to have DW in a split-view, with the HTML being displayed on the left and the "result" view on the right. That view on the right allows me to type in text directly into the page w/o worrying about HTML semantics -- very handy feature, except one little detail. Say, I have the following snippet of text, "This is some sample text" and I want to edit out the word "some" with the phrase "very important". So I highlight the word "some" and begin typing. Everything goes well when I finish typing "very", but as soon as I put a space to begin typing the word "important", something in DW makes the resulting phrase to look like this: "This is very importantsample text" Notice that the space after "important" was removed. You see, I'm not used to adding spaces after each of my edits (and that is how 99% of word processors work in the world) so my documents started to miss spaces and it took me awhile to figure out why. I was truly hoping that Curtis' suggestion would fix the issue, but even though I can add more than a single space, DW still removes spaces for me automatically, like I just explained above.

  • More than one space with spacebar

    Hi all
    OK I know this has been visited ad nauseum that HTML dictates
    one space between
    words, never use the spacebar to position elements, yada
    yada...
    But here's a strange thing... before I updated from DW 8 to
    8.02, incredibly,
    somehow my spacebar would work as "I think" it should, which
    is to say that I
    got to use it as a spacebar to do as I see fit with it; if I
    wanted two spaces
    between sentences for example, it just did it.
    I don't want Dreamweaver dictating how my spacebar works.
    Does anyone know why mine freakishly worked as I wanted it to
    before 8.02? Is
    there an Extension that maybe allows the end user to reclaim
    his/her spacebar
    without have to control-shift-space??
    Thanks!
    Tim

    IMHO, Dreamweaver is doing just by only allowing one
    non-breaking space. But
    if you absolutely insist:
    Edit > Preferences > General > Allow multiple
    consecutive spaces
    Shane H
    [email protected]
    http://www.avenuedesigners.com
    =============================================
    Proud GAWDS Member
    http://www.gawds.org/showmember.php?memberid=1495
    Delivering accessible websites to all ...
    =============================================
    "Destin_FL" <[email protected]> wrote in message
    news:e7ffnk$fb5$[email protected]..
    > Hi all
    > OK I know this has been visited ad nauseum that HTML
    dictates one space
    > between
    > words, never use the spacebar to position elements, yada
    yada...
    > But here's a strange thing... before I updated from DW 8
    to 8.02,
    > incredibly,
    > somehow my spacebar would work as "I think" it should,
    which is to say
    > that I
    > got to use it as a spacebar to do as I see fit with it;
    if I wanted two
    > spaces
    > between sentences for example, it just did it.
    > I don't want Dreamweaver dictating how my spacebar
    works.
    >
    > Does anyone know why mine freakishly worked as I wanted
    it to before 8.02?
    > Is
    > there an Extension that maybe allows the end user to
    reclaim his/her
    > spacebar
    > without have to control-shift-space??
    >
    > Thanks!
    >
    > Tim
    >
    >

  • How to Insert more than one record at a time- with fixed set of values in one field

    Can someone guide as to how to insert multiple records at a time using ASP VBScript in Dreamweaver CS4 or ADDT.
    If someone can guide then the exact problem is given below.
    I have a MS access database with one table. The table has three fields. The first field is an autonumber field for ID number.
    The second field contains string values- One out of 7 predefined values. One set of records consists of 7 records containing all the seven types of predefined values in fields no 1.
    The third field is a numeric field and can contain integers.
    I want that the user can enter data for the table using an ASP form in such a way that he enters one set of records at a time in one single screen. This way he will not have to remember that he has /has not entered all the seven set of values for the field no 1.
    I am not creating fields with the 7 types of field1value as their names as it will increase the number of fields drastically.
    Please help for dreamweaver ASP VBScript.

    I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
    However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
    Please help.
    Also advise if there are any free dreamweaver server side validation extensions available.

  • How to Insert more than one record at a time

    How to insert multiple records at a time?
    If someone can advise on this, then the actual problem is described below:
    I have a MS access database with one table. The table has three fields. The
    first field is an autonumber field for ID number.
    The second field contains string values- One out of 7 predefined values. One
    set of records consists of 7 records containing all the seven types of
    predefined values in fields no 1.
    The third field is a numeric field and can contain integers.
    I want that the user can enter data for the table using an ASP form in such
    a way that he enters one set of records at a time in one single screen. This
    way he will not have to remember that he has /has not entered all the seven
    set of values for the field no 1.
    I am not creating fields with the 7 types of field1value as their names as
    it will increase the number of fields drastically.
    Please help with inserting multiple records at a time.

    I have successfully inserted seven records in one form submit operation by looping through the command object execute method.
    However, the data that is being inserted by the command object is repetition of the first record and the command object is not taking any data from the text boxes for the second record onwards. In this I had used the isert record behavious generated by DW CS4 and modified it to suit my requirement. However, the data inserted in the first row is getting repeated in all the seven rows.
    Please help.
    Also advise if there are any free dreamweaver server side validation extensions available.

  • Insert more than one record in a transaction is costly or insert big record

    Hi,
    I am using Oracle 10g on linux 64 bit
    Could anybody tell me that currently my log tables in oracle has 22 columns out of 22, 20 belongs to rate from different lenders like
    uuid,app id,lender1,lender2,lender3 .............,lender20
    1,123,lender1_rate,lender2_rate,lender3_rate..............
    In order to make it more readable and in order to include new lender dynamically we are changing this table to row wise so that we do not need to include new lender column in table
    uuid,app,lender
    1,123,lender1_rate
    1,123,lender2_rate
    1,123,lender3_rate
    1,123,lender20_rate
    but it will create instead of one record, 20 records for each app in a transaction.
    Is it costly for insert. If it is then what should be the way.

    Hi,
    It could be slightly costly to insert.
    But it makes my design more flexible and my queries less costly and flexible.
    I would use something like this as my columns.
    uuid, app, lender_code, lender_rate
    Regards
    Anurag.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Match more than one item in a string

    I've a string with one or more of ##.*##.*##.*## and I want to get all of the pattern which is matching the ##.*##.*##.*## in an array.
    In perl i wrote:
    @array = $string =~ /(##.*##.*##.*##)/gis;
    How to do this in Java?
    Thanx

    Are you sure? Because I'd be surprised if you could do something with perl that you can't do with Java (regarding regular expressions I mean).

  • How to insert more than one values

    Oracle 9i
    Hi all
    I have 80 values how to insert it in a single time, it is in production
    This is my insert statement
    Insert into FND_LOOKUP_VALUES
    (LOOKUP_TYPE,LANGUAGE,LOOKUP_CODE,MEANING,DESCRIPTION,ENABLED_FLAG,
    START_DATE_ACTIVE,END_DATE_ACTIVE,CREATED_BY,CREATION_DATE,LAST_UPDATED_BY,L
    AST_UPDATE_LOGIN,
    LAST_UPDATE_DATE,SOURCE_LANG,SECURITY_GROUP_ID,VIEW_APPLICATION_ID,TERRITORY
    _CODE,
    ATTRIBUTE_CATEGORY,ATTRIBUTE1,ATTRIBUTE2,ATTRIBUTE3,ATTRIBUTE4,ATTRIBUTE5,AT
    TRIBUTE6,ATTRIBUTE7,ATTRIBUTE8,ATTRIBUTE9,ATTRIBUTE10,ATTRIBUTE11,ATTRIBUTE1
    2,ATTRIBUTE13,ATTRIBUTE14,ATTRIBUTE15,TAG,LEAF_NODE)
    values ('XXHDNL_SHIPPABLE_POSTCODES','US','CF47 9','CF47 9','CF47 9','Y',
    to_date('23-JUL-09','DD-MON-RR'),null,1090,to_date('23-JUL-09','DD-MON-RR'),
    1090,47626,to_date('23-JUL-09','DD-MON-RR'),'US',0,3,null,null,null,null,nul
    l,null,null,null,null,null,null,null,null,null,null,null,null,null,null);
    I need to change the values in the field LOOKUP_CODE,MEANING,DESCRIPTION
    there are 80 values it takes time to insert one one value each time.
    The values are like this
    DE1,DE1,DE1
    D3,D3,D3
    DE5,DE5,DE5
    DE11,DE11,DE11
    DE12,DE12,DE12
    DE13,DE13DE13
    How to do this?
    Any help is highly appricatble
    Thanks & regards
    Srikkanth.M
    Edited by: Srikkanth.M on Jan 14, 2011 6:04 PM

    If the code is autonumeric ... then try
    insert into FND_LOOKUP_VALUES (LOOKUP_TYPE,
                                                      LANGUAGE,
                                                      LOOKUP_CODE,
                                                      MEANING,
                                                      DESCRIPTION,
                                                      ENABLED_FLAG,
                                                      START_DATE_ACTIVE,
                                                      CREATED_BY,
                                                      CREATION_DATE,
                                                      LAST_UPDATED_BY,
                                                      LAST_UPDATE_LOGIN,
                                                      LAST_UPDATE_DATE,
                                                      SOURCE_LANG,
                                                      SECURITY_GROUP_ID,
                                                      VIEW_APPLICATION_ID                                                 
    SELECT 'XXHDNL_SHIPPABLE_POSTCODES',
               'US',
               'DE' || level,
               'DE' || level,
               'DE' || level,
               'Y',
                to_date('23-JUL-09','DD-MON-RR'),
               1090,
               to_date('23-JUL-09','DD-MON-RR'),
               1090,
               47626,
               to_date('23-JUL-09','DD-MON-RR'),
               'US',
               0,
               3
    from dual connect by level < 81

  • More than one space in the file is condensed to one space

    Hi, buddies.
    my file format is like below:
    0010XXXX2001X9001XX11
    where 'X' stands for space.
    I use File adapter to read this kind of format txt file into XI and the content is changed to:
    0010X2001X9001X11
    I do not make any specification in sender CC. And How can I keep those space in the file content when reading it into XI. Do I need to make any specification configuration in File sending CC?
    BJ

    Hi,
    The below command will help u to trim black spaces
          NameA.fieldContentFormatting
    For more information on FCC find below link
    http://help.sap.com/saphelp_nw70/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Maybe you are looking for