In a string " SEMINAR" .Replace "A" by 123. will this
replacement will happen ot will it give error? If not , den
what will be the output?

Answers were Sorted based on User's Feedback



In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / nishant kumar

It will throw a compilation error.

We can't replace 1 Char with multiple one using inspect.

Please correct me if I am wrong

Is This Answer Correct ?    8 Yes 0 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / anonymous

INSPECT test-string REPLACING ALL 'A' BY '123'

Is This Answer Correct ?    0 Yes 3 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / molay paul

The output will be SEMIN123R . Its verified.

Is This Answer Correct ?    1 Yes 7 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / howa

If in the string " SEMINAR" "A" is replaced by 123 the
results would be " SEMIN{R" since the ascii for 123 is the
left curly brace.

Is This Answer Correct ?    4 Yes 11 No

In a string " SEMINAR" .Replace "A" by 123. will this replacement will happen ..

Answer / vijay

we cant able to replace char by a numeric values....

Is This Answer Correct ?    3 Yes 10 No

Post New Answer

More CICS Interview Questions

Given below code, find the value of 'x'. Perform s001-x thru s001-y. s001-x. add 1 to x . s001-1x. ------- . s001-y. perform s001-1y 10 times . s001-1y. perform s001-2y 10 times . s001-2y. perform s001-x 10 times .

1 Answers  


In an on-line environment, how can you prevent more than one user from accessing the same Transient Data Queue at the same time?

2 Answers   IBM,


Use of DFHCOMMAREA in cics

2 Answers   Virtusa,


cics command level is?

0 Answers   IBM,


What is an mdt (modified data tag)?

0 Answers  






what is an MDT in cics

4 Answers   Syntel,


With the use of an alternate index, how is a VSAM file accessed?

0 Answers  


When you compile a CICS program, the (pre)compiler puts an extra chunk of code. Where does it get stored

1 Answers  


What is the eib parameter?

0 Answers  


Define the term mro (multi region operation)?

0 Answers  


Explain how do you dynamically set the cursor position to a specific field?

0 Answers  


How can we code a program such that we will never get a MAPFAIL error?

1 Answers   Accenture,


Categories