|
Hmm, you want to TRIM some spaces. I wonder what IBM might name a bif to do that? Anyone have a clue? How about %trim? Dang, that's it! http://publib.boulder.ibm.com/infocenter/iseries/v5r3/ic2924/info/rzajp/sc092508.pdf Look up built in functions. A shoot from the hip on the converting text would be the %xlate, from the same url. However better minds might suggest some API, especially if multilingual support might be a consideration. Just a quick glance http://faq.midrange.com/index.pl?_highlightWords=upper&file=336 Rob Berendt -- Group Dekko Services, LLC Dept 01.073 PO Box 2000 Dock 108 6928N 400E Kendallville, IN 46755 http://www.dekko.com Siva <matchrefree@xxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 03/03/2005 09:26 AM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To RPG400-L@xxxxxxxxxxxx cc Subject String Functions in COBOL/400. Hi, Can anyone tell me if there are any built in functions or any simpler way for performing the following string functions?? 1) Trimming leading or trailing spaces in a string 2) Converting text from lower case to upper case and vice versaâ Regards, Siva __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.