Skip to Content

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 06:59 AM

    Rudra,

    Try this

    Constants: c_space3(3) type c.

    Now use Seperated by c_space3.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 07:05 AM

    Hi,

    Splitt this string into 3 parts n store it in varaible and then concatranate into one string separated by space.

    Regrds,

    Prashant

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 03, 2007 at 07:06 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.