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

By which CICS defined field can you determine the position of the cursor on the map ?

1 Answers  


What is TSQ and TDQ.what is the the difference? when you for tsq and when you go for tdq?

2 Answers  


What is the EXEC CICS HANDLE ABEND?

2 Answers   IBM,


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 the function of the load command?

1 Answers  


What is MDT? What are FSET, FRSET ?

3 Answers   IBM,


What is transient data?

1 Answers   IBM,


Mention the 5 fields available in the symbolic map for every ?NAMED? field in the DFHMDI macro? Give a brief description of these fields (Not exceeding a line).

2 Answers   IBM,


If no exception handling is provided in the program, what will happen ?

1 Answers  


How do you rollback data written to an ESDS file?

1 Answers   IBM, Infosys,


Which of the following commands, when issued by 2 different programs running at the same time, will prevent simultaneous use of resource 'SINGLE'?

1 Answers  


How is the storage determined in the symbolic map, if you have multiple maps?

2 Answers   IBM, Wipro,


Categories