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

which cics service transaction is used to gain accessibility to cics control tables? Mention the one that has the highest priority.?

0 Answers   IBM,


What are the 3 common ways to create maps?

1 Answers   IBM,


What is frset?

0 Answers  


What is eib?

0 Answers  


Define floating maps with illustration?

0 Answers  






Which transient data queue supports ATI?

2 Answers  


Define an aey9 abend?

0 Answers  


Define cebr?

0 Answers  


How are VSAM files Read in CICS pgms?

4 Answers   IBM,


Can you define mdt?

0 Answers  


How to handle exceptional conditions in cics?

0 Answers  


What is an mdt (modified data tag)?

0 Answers  


Categories