RPGNext
Take Your RPG Development to theNextLevel
Site Links
Home
RPG Programming
xRPG Downloads
xRPG Docs
About This Site
About Me

RPG Gurus
Bob Cozzi
Brad Stone
Scott Klement
Jon Paris

iSeries Links
Alpha Works
Midrange.com
FAQ@Midrange.com
MidrangeServer.com
IBM Docs
iSeries Infocenter
MCPress
Easy400
API Finder

xRPG Core Library Procedures - RNBMISC: stripNum()


Takes a character string and returns only embedded numbers.

Usage:

stripNum( string : {allowDec} );

Name Type Options Opt/Req Description
string 30A Const Req The string to strip.
allowDec N Const Opt if *ON then retains decimals else defaults to Integers only. If allowDec = *ON and there are multiple decimal points, only the first will be allowed.
Returns: 30,9 n/a n/a The stripped number.

This site conforms with the following W3C specifications:

Web Essentials

Contact