Page 1 of 1

Advanced String Routines

PostPosted: Tue Jun 29, 2010 4:56 am
by TechMediaPlugins2010
String Routines (Plugin Pool). Evey business day, a new plugin


Useful and professionally coded string routines for Neobook.


tmStrLEFT - Retrieve Count chars from the left of Source.

tmStrRIGHT - Retrieve Count chars from the right of Source.

tmStrREVERSE - Returns a string reversed.

tmStrPROPERCASE - Returns Proper String, each word Capitalized.

tmStrISNUM - Returns True (or False) if the string is not empty and is only made of Digits 0 through 9

tmStrISALPHA - Returns True (or False) if the string is not empty and is only made of Standard Alphabetic characters A through Z and a through z.

tmStrISALPHANUM - Returns True (or False) if the string is not empty and is only made of Standard Alphabetic characters A through Z and a through z and Digits 0 through 9.

tmStrISFLOAT - Returns True (or False) if the string is not empty and is only made of ASCII characters 0..9,space,E,+,-,decimal

tmStrISMASK - Returns True (or False) Validate Source from start to Index (-1 = Full) for conformance to a picture mask composed from a special character set.

tmStrCENTRE - Returns a string with blank spaces added to the beginning and end of the string to in effect centre the string within the given length.

tmStrCENTRECHAR - Returns a string with with specified character added to the beginning and end of the string to in effect centre the string within the given length.

tmStrSTRIPCHAR - Returns a String with all occurrences of the given character removed.


To be continue...



www.techmedia-plugins.com.br