1.find most occurrences of a character.
for exm: input:aaabbbbdddddyyy
output: d 5 times
how can i get that?
Answer Posted / manoj
As per my understanding using Scan opcode we can't find out
most occurrences of a character.
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
what is *place and *auto keyword in prtf ?plz explain
what is the use of sflnxtchg?
How to write record if no field or the field are different in physical file in rpgle ?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
how do I preserve and clean the array?
How can we override a file during runtime in rpg?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
explain sflclr, sflend, sfldlt, and sflcsrrrn?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
What are the types of identifiers?
What is ment by record level identifier?
what is data area and how it is used in rpg program ?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
What is the difference between copybooks and subprocedures in as400?
how do I play {insert rpg system here}?