Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to prrint single quotes

Former Member
0 Kudos

hi all how to print ' .

i want to print 'abcd' with single quotes.

how to write this one

1 ACCEPTED SOLUTION

Former Member
0 Kudos

write ' ''Hello'' ' will outupt 'Hello'

It means double the single quote!!

Thx for the reward!!!!

7 REPLIES 7

Former Member
0 Kudos

write ' ''Hello'' ' will outupt 'Hello'

It means double the single quote!!

Thx for the reward!!!!

Lakshmant1
Active Contributor
0 Kudos

Hi Sai,

write:/'''abcd'''.

Thanks

Lakshman

mandar_shete
Active Participant
0 Kudos

Hi,

try to print ''''.

Former Member
0 Kudos

Hi Sai Ram,

You must use the Escape Character convention for printing such characters.

For example:

Write: / 'This is Madhur''s post'.

Notice here that that I preceded the single quote symbol with another to tell SAP that I want to print (').

Please reward points if helpful.

Regards,

Madhur

Message was edited by: Madhur Chopra

former_member188685
Active Contributor
0 Kudos

Hi,

just use

write: '''print'''.

regards

vijay

Former Member
0 Kudos

Hi Sai,

we cannot use single inverted comma (') to print we have to use double so that we can get one.it indicates the escape sequence so for ur ques just write like this

write : ' ''abcd'' '.

Regards,

<i><b>Sri</b></i>

Message was edited by: sri lakshmi

Former Member
0 Kudos

Hi,

Use write '''abcd'''.

Regards,

Digesh Panchal