COBOL
Reverse a given string....
string
reverse
algorithm
COBOL
Accept a string and display it reversed....
string
reverse
reference-modification
COBOL
Count the number of vowels in a given string....
string
inspect
vowels
COBOL
Accept 10-digit phone and format as (XXX) XXX-XXXX. Input: 1234567890 -> (123) 456-7890...
string
formatting
reference-modification
COBOL
Count the number of words in a sentence. Input: "HELLO WORLD COBOL" -> 3 words...
string
word-count
algorithm
COBOL
Validate if email has proper format: contains @ and . after @....
email
validation
string
COBOL
Check if a string is a palindrome (same forward and backward)....
palindrome
string
algorithm
COBOL
Parse a comma-separated record into individual fields. Input: "JOHN,DOE,35,NEW YORK"...
unstring
csv
parsing
delimited