Strings Library for programmers...
- Size
- 12K (12,732 bytes)
- Added
- 2026-11-20 02:44
- Downloads
- 1
- Long Description
- Prologue -------- Welcome to another release of strings.library.. This library was meant for dos/shell purposes only when I first released v1.0.. This library can be used to everything.. I use this library in doors coding, and other utilities that needs these kinds of commands. I'm sure these commands will come in hand for you aswell.. I have put alot of time within this library, and I would apreachiate if anyone sent me bugs reports, features what ever you want to see in strings.library.. My E-MAIL can be found at the end of this documentation... What is this!? -------------- Well.. This library is based on a MODULE I made for AMIGA E for some time back.. This lib is a tool based library, at this very moment I have just made a few commands.. But, there will be more in the future.. :) (Read the syntax for more info)... Arexx Kinda Commands -------------------- StrWord() - Converted cmd from Arexx called : Word () Str2Number() - Converted cmd from Arexx called : C2D () StrReplace() - Converted cmd from Arexx called : Translate () StrCopies() - Converted cmd from Arexx called : Copies () Fexists() - Converted cmd from Arexx called : Exists () What about the syntax!? ----------------------- Here are a list of the supported commands.. strings.library/StrCentre() v1.0 bugFixed in v1.7 strings.library/StrWord() v1.0 bugFixed in v1.7 strings.library/StrRight() v1.0 bugFixed in v1.7 strings.library/Str2Number() v1.0 bugFixed in v1.7 strings.library/StrReplace() v1.1 bugFixed in v1.7 strings.library/StrCopies() v1.2 bugFixed in v1.7 strings.library/Version() v1.2 strings.library/Fexists() v1.3 Improved in v1.5 strings.library/PowNum() v1.4 strings.library/Asc2Num() v1.4 strings.library/Num2Bin() v1.5 strings.library/Str2Upper() v1.6 bugFixed in v1.7 strings.library/Str2Lower() v1.6 bugFixed in v1.7 strings.library/Num2Dec() v1.7 strings.library/VersionDate() v1.7 strings.library/GetTime() v1.8 TIME/DATE command strings.library/GetTicks() v1.8 TIME/DATE command strings.library/Tick2Time() v1.8 TIME/DATE command strings.library/SetTimer() v1.8 TIME/DATE command strings.library/GetTimer() v1.8 TIME/DATE command StrCentre() strings.library/StrCentre() NAME StrCentre() -- Will center a text in SHELL/CLI SYNOPSIS res:=StrCentre(text,length) FUNCTION - This command will center a text in your SHELL/CLI window.. INPUT/OUTPUTS res - Result text - The text you want to center on the screen length - The length of your screen.. (Default 79) THIS -> WAY :) StrWord() strings.library/StrWord() NAME StrWord() -- Will locate a word in a text specified by you SYNOPSIS res:=StrWord(text,word) FUNCTION - This command will get the word you want to collect from a text e.g : StrWord('Hello, this is a test',3) would be: IS INPUT/OUTPUTS res - Result text - The text you want to get a word from word - The word number you want to get BUGS Somehow there has been a bug all the time when using this command. The result sometimes produced more than ONE word, fixed in v1.5 StrRight() strings.library/StrRight() NAME StrRight() -- Will write the text to the right in your SHELL window. SYNOPSIS res:=StrRight(text,pos) FUNCTION This command will print a text to the right of your SHELL/CLI window.. INPUT/OUTPUTS res - Result text - The text you want to print to the right pos - The position on your scree