String Things 1.0

Operating systemsOS : Windows / Linux / BSD / Solaris
Program licensingScript Licensing : Freeware
CreatedCreated : Jun 25, 2007
Size downloadDownloads : 1
Program licensing
Thank you for voting...

Lots of helpful functions for strings.<br /> ...

Lots of helpful functions for str.
ToLower(char c)
description:
Converts the passed chaarcter to a lower case one
parameters:
c = Character to be converted to lower case
returns:
The converted character as char
Overloads:
ToLower(char* buffer) - Used for converting entire strings rather than one character at a time
ToUpper(char c)
Description:
Converts passed character to upper case
Parameters:
c = Character to be converted to upper case
Returns:
Converted character as char
Overloads:
ToUpper(char* buffer) - Used to convert entire string
TrimSpace(char* str)
Description:
Shifts all spaces in the string to the end
Parameters:
str = String that will have spaces consolidated
Returns:
Amount of spaces moved as int
STRLEN(const char* str)
Description:
Returns the number of characters in a null terminated string, excluding the null character.
Parameters:
str = string to be lengthorsized
Returns:
number of characters as an int
CMPSTR(const char* control, const char* constant)
Description:
Compares two null terminated strings, regardless of case
Parameters:
control = string to be compared against
constant = string being compared
Returns:
true if the strings are the same, false if not
CMPNSTR(const char* control, const char* constant)
Description:
Compares two strings, case sensitive
Parameters:
control = string to compare against
constant = string being compared
Returns:
true if the strings are the same, false if not (case sensitive)
FirstInstanceOf(const char* str, const char* control)
Description:
Searches the passed string for the first instance of control
Parameters:
str = string to be compared
control = string to find within the comparison string
Returns:
Returns how many characters into the string the control was encountred, -1 if control was not found
FirstInstanceOfN(const char* str, const char* control)
Description:
Searches the passed string for the first instance of control; case-sensetive
Parameters:
str = string to be compared
control = string to find within the comparison string
Returns:
Returns how many characters into the string the control was encountred, -1 if control was not found; case-sensitive
SubChar(char* str, const char delimeter, const char sub)
Desription:
Replaces all 'delimeters' in a string with 'sub'
Parameters:
str = the string to be searched
delimeter = character to be replaced
sub = character to replace delimeter with
Returns:

String Things 1.0 scripting tags: description, str, string, string things, string snippets, strings, control, things snippets, parameters, char, case, returns. What is new in String Things 1.0 software script? - Unable to find String Things 1.0 news. What is improvements are expecting? Newly-made String Things 1.1 will be downloaded from here. You may download directly. Please write the reviews of the String Things. License limitations are unspecified.