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

What happens if i move +1 (instead of -1) to field+L in CICS? Will it show compile time error?

6 Answers   CTS,


What Are Send Map Maponly & Send Map Dataonly ?

0 Answers   IBM,


What does the 'cemt:cics' transactions do?

0 Answers  


when will be use the tdq and tsq??

2 Answers   Keane India Ltd,


How many ways are there for initiating a transaction?

0 Answers  






How can you use dynamic calls in cics?

0 Answers  


NAME SOME TRANSLATOR AND COMPILE OPTION AND EXPLAINE THEIR MEANING

1 Answers   Fujitsu,


Explain the difference between cics program control table (pct) and cics processing program table (ppt)?

0 Answers  


Name the cics command used to access current date and time?

0 Answers  


What is a logical message in CICS?

1 Answers   IBM, Syntel, Wipro,


What is MDT ? How it is related FSEAT & FRESET? what is the meaning of MDT on.. pls ans With explanation is will be more helpfull thank you

2 Answers  


Explain how and where is the twa size set?

0 Answers  


Categories