How to add multiple spaces to the middle of a string?

Hi,
I have two strings:
str1 = 'NAME'
str2 = 'ADDRESS'
I want to create a third string:
str3 = 'NAME          ADDRESS'
These do not work:
1)   str3 = str1 + '       ' + str2
2)   concatenate str1 '       ' str2 into str3
3)   concatenate str1 '       ' str2 into str3 separated by space
4)   str3 = 'NAME&ADDRESS'
       replace '&' in str3 with '       '
5)   str3 = 'NAME&ADDRESS'
       overlay str3 with '       ' only '&'
Any other ideas?
Thx.
Andy

>
Andrew Jacobs wrote:
> str1 = 'NAME'
> str2 = 'ADDRESS'
> Any other ideas?
>
> Thx.
> Andy
These are not strings, strings are enclosed in ` and not in apostrophes like '.
so use this:
  concatenate str1 str2 into str3 in character mode separated by space.

Similar Messages

  • How to Add multiple entry to the group policy security filtering

    How to Add multiple entry to the group policy security filtering
    Is there any way we can add multiple entry to the Domain group policy Security filtering tab.Currently its not allowing to add more then one entry at a time.
    Getting Error like "only one name can be entered,and the name cannot contain a semicolon.Enter a valid name"

    Hi
    Are you trying to add more users or groups through Group Policy Management Security Filtering tab?
    Try right clicking on the policy and then edit
    Then in Editor Right click on the name of the policy and Properties
    Security tab and add user or group from this tab. Just make sure if you are adding user or groups "Select this object type" has
    the correct option also "From this Location" is set to your entire directory not the local server.
    Update us with the above.
    Thanks

  • How to add multiple tasks to the worklist view?

    Hi,
    We are creating a view based on our BPM process and we are using OBPM 11.1.1.4. We do have 2 human workflow tasks in the process.
    While creating views in the worklist we are able to add only one task is there a way to add multiple tasks to one view?
    Thanks a lot for the help in advance.

    Hi Mikael,
    First of all, which Project Server version do you use?
    I'd like to be sure to correctly understand your concern. You would like to have more than 1 task list in your project site, am I right? I'm a bit confused since you talk about both project site and project center.
    First notice that the default task list is related to the project Schedule, ie when a task is updated in the project, the list will be updated accordingly.
    With Project Server 2013, I could open a project site, navigate to "site content", select the task app and create a new task list. This new list will be created as a blank list not related to the schedule neither the default task list.
    Note that there is a list setting which triggers wheither or not the list link will be added to the navigation menu of the left side (list settings, List name, description and navigation).
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How to add a column in the middle of the table

    hi all.
    using alter table i am able to add column at the end of the table.
    but what to be done if i want to mention the column number or order also.

    This cannot be done, without recreating the table. Of course, if it is just a nice thing, to make people feel good about the order, you can define a view in the order you want.
    Tom Best

  • How to add multiple seletions to the Program.

    Hi Folks,
    The requiremnet as below.
    Currently we have a Program to download to desktop  from applicatin server.
    Using this Program we can download a single dataset to desk top.
    Now the user required they need multiple selections to download the files to desk top from Appliation server.
    Please help me to resolve this issue.
    Thanks&Regards
    Sandeep

    HI,
    Follow this code
    HI,
      do you mean to say that you want to read all the files in a directory of a application server and download it onto desktop...
    use select options for your application server path entry in the selection screen.
    tables : RLGRAP.
    select-options : s_fname for  RLGRAP-FILENAME no intervals.
    data : begin of itab occurs 0,
             filename(50),
             end of itab.
    start-of-selection.
    loop at s_fname.
    itab-filename = s_fname-low.
    append itab.
    endloop.
    *now itab will have all the files in the application server.
    loop at itab.
    open dataset itab-filename.
    transfer to itab.
    close dataset itab-filename.
    gui_download..
    endloop.
    Thanks
    mahesh

  • How to add a column to the middle of a matrix?

    hi all,
    Can any one help me regarding storing new column in Middle of the Matrix.
    when i am approching like going Tools->User defined fields->Marketing Documents  in that i am adding my fields in Row it will effect all the Modules in Matrixes like Sale/Purchase  modules i dont want that willbe  available for all modules like Sales and Purchase . I wanted only In Purchase Module will be reflected i wrote code also that coding also i kept in other Forum. Can u once check i dont want to reflect in all the Modules.I wanted Clear information Regarding asap??
    Regards
    ANAND

    Hi ANAND,
    I think DI API's FormPreferencesService should do the trick for you.
    You can find sample code in the SDK Helpcenter.
    HTH,
    Frank

  • How to add multiple columns?

    Using designer API, how to add multiple columns to the repository tables? I want to add number of columns at a time instead of adding column by column.
    Thanks in advance.

    Can you use sqlplus?
    ALTER TABLE table_name ADD (column_name data_type), (Column_name datatype),...
    Check the SQL Reference 11-9.
    Hope this helps.
    Bill Swanson

  • How to add multiple images in jinternalframe

    Hi all,
    how to add multiple images to the jinternalframe, at specified location of the pane and resizing the images with specified height and width.
    code examples are highly appreciated.
    Thanks & Regards,
    Abel

    Thanks, it works perfectly. It's a really smart way of fixing the problem too :)
    I also found your toggle button icon classes which is something I've also had a problem with.
    Thanks.

  • How do I add multiple songs to the iPod library at the same time?

    Before the iTunes update, I was able to add multiple songs to the library. Now I must add one song at a time. How can I get enable my iTunes to allow me to "add file to library" with more than one song?

    I use add folder option when adding more than one file. Never tried to add more than one file with the add file option. Long ago when I started with iTunes, I made a folder to use when importing files when I was not ripping in directly.

  • How to add a SPACE as suffix to the last field in the downloaded text file?

    Hi Experts,
    By using GUI_DOWNLOAD am saving the data(only 3 fields) in a text file on my desk top.
    fine.
    example current record1 : 010001                      354.999            26.000
    here, after 3rd field 26.000, immediately the cursor is jumping to next line in text file.
    but, wanna a SINGLE SPACE after 26.000, say 26.000+space.
    tried with CONCATENATE, OFFSETTING, but no use(may b am using incorrectly)
    so, pls. suggect me, How to add a SPACE as suffix to the last field in the downloaded text file?
    thanq

    Sorry...Typo error...Too many in the last few days -:(
    Wanted to say AFTER -:)
    Do it like this...
    FIELD1 TYPE XXX,
    FIELD2 TYPE XXX,
    FIELD3 TYPE XXX,
    SPACE(1) TYPE C,
    That way you should end with...
    26.000+SPACE
    Greetings,
    Blag.

  • How to add multiple users to a role in ECC 6.0

    How to add multiple users (say 1000) to a role in ECC 6.0?

    Hi
    You can actually add multiple users to a role using transaction SU01. From SU01, use the menu Environment->Mass Changes.
    Here you can manually add the users, select them by address or authorisation data. Once you have your user list, you can then add or remove roles and/or profiles.
    Secondly , You can use SU10 to do mass changes to multiple users including role assignments per logical systems
    Also check the following link:
    http://www.sap-img.com/bc021.htm
    I hope this should do it
    regards
    Chen

  • Add multiple scans to the same pdf file scan at time of scanning

    Hello, HP Officejet Pro 6830 How do I get it to add multiple scans to the same pdf file? I need to scan multiple documents and have them all end up in one pdf. Some may be double-sided and it is fine if I have to scan them individually. At present it will only do one scan or a double-sided scan then it wants to save the scan and not ask if there are any more pages. The only option is to save or not. Thank you.

    After your first scan you need to click the + sign at the 7 o'clock position. 

  • How to add multiple table when creating add on using b1de

    Hi all,
    Plz help me
    How to add multiple table when creating add on using b1de.
    Thanks

    Hi dns_sap,
    Can you explain a little better what you are trying to accomplish? Is it to create UserTables and UserFields in the database, when the addon runs the first time?
    If so, you can use the following code
    Add User Table
            Try
                Dim lRetCode As Long
                Dim oUDT As SAPbobsCOM.UserTablesMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserTables)
                oUDT.TableName = TableName
                oUDT.TableDescription = TableDescription
                oUDT.TableType = TableType
                lRetCode = oUDT.Add
                '// Check for error when adding the Table: if lRetCode = 0 the table was created; if lRetCode = -2035 the table already exisits
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & lRetCode.ToString & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDT)
                oUDT = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Add User Field
    Try
                Dim lRetCode As Long
                Dim oUDF As SAPbobsCOM.UserFieldsMD = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oUserFields)
                oUDF.TableName = TableName
                oUDF.Name = FieldName
                oUDF.Description = FieldDescription
                oUDF.Type = FieldType
                lRetCode = oUDF.Add
                '// Check for error when adding the field: if lRetCode = 0 the field was created; if lRetCode = -2035, the field already exists
                If lRetCode <> 0 Then
                    oApplication.MessageBox("Error: " & oCompany.GetLastErrorCode & ", " & oCompany.GetLastErrorDescription)
                End If
            Catch ex As Exception
                oApplication.MessageBox(oCompany.GetLastErrorDescription)
            Finally
                System.Runtime.InteropServices.Marshal.ReleaseComObject(oUDF)
                oUDF = Nothing
                lRetCode = Nothing
                GC.Collect()
            End Try
    Regards,
    Vítor Vieira

  • How to add multiple namespaces in XSD ?

    Can anyone tell me how to add multiple namespaces inside an XSD. Or how to import XSD into another XSD ??
    Thanks

    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://xml.ibridge.nl/nl/rsg/domein/3/company" xmlns:alg="http://mynamespace/generic" targetNamespace="http://xml.ibridge.nl/nl/rsg/domein/3/company" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
         <xs:import namespace="http://mynamespace/generic" schemaLocation="algemeen.xsd"/>
    you define xmlns:alg with a namespace
    and after that use the namespace itself to import a xsd for it

  • How to add multiple button/choices in  button choice

    HI all ,
            How to add multiple button/choices in  button choice ?

    Initialize a cluster array (CrsrList type) with as many cursors as you think you would ever need.   Setup your cursors dynamically, then delete the unused cursors (array elements) and then update your CursorList property.
    Message Edited by vt92 on 03-20-2009 04:04 PM
    "There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
    Attachments:
    cursors.PNG ‏5 KB

Maybe you are looking for

  • How to Print Multiples time the same psf on one sheet

    Hi, I'm looking for the equivalent of rectangular array tool in Autocad, to print recto/verso buisness cards so I could print multiple cards per pages. With the multiple tool I just get one card, it doesn't seem to work. Thx for your help, Matt.

  • The collection you specified does not exists or is not registered with the ColdFusion Search Service.

    While upgrading to CF7 from CF5, I am creating the new collections from Cf Admin. After creating, I indexed it from cf admin and then trying to search for the documents in that collection, and i am getting the following error. This was working yester

  • Sap Query sq01: how to combine substrings in complex calculations

    I made a query with sap query. I made 1 local field: name1. I have 2 fields firstname and lastname and a field named class. In the complex calculations screen I made the following calculation for that field: Condition: CLASS='1' Formula: firstname' '

  • SP2013 AAM

    Hello, I have a SharePoint 2013 with four web applications. These web applications are extended to provide access https. Is it possible to disable in iis web applications with http to force users to access https ?, in case if possible, is it advisabl

  • Is it possible to set graphical style to multiple different images that are links?

    I have many thumnail images that link to different pages and each thumbnail image is a different picture so it appears as though I will need to create 20+ styles because they are 20 different images? Basicly I just want to set the roll over state to