================================================================== MikeOS -- The Mike Operating System kernel STRING MANIPULATION ROUTINES ==================================================================


os_string_length

Return length of a string

Example:

code goes here

os_find_char_in_string

Find location of character in a string

Example:

code goes here

os_string_uppercase

Convert zero-terminated string to upper case

Example:

code goes here

os_string_lowercase

Convert zero-terminated string to lower case

Example:

code goes here

os_string_copy

Copy one string into another

Example:

code goes here

os_string_truncate

Chop string down to specified number of characters

Example:

code goes here

os_string_join

Join two strings into a third string

Example:

code goes here

os_string_chomp

Strip leading and trailing spaces from a string

Example:

code goes here

os_string_strip

Removes specified character from a string

Example:

code goes here

os_string_compare

See if two strings match

Example:

code goes here

os_string_strincmp

See if two strings match up to set number of chars

Example:

code goes here

os_string_parse

Take string (eg "run foo bar baz") and return
pointers to zero-terminated strings (eg AX = "run", BX = "foo" etc.)

Example:

code goes here

os_string_to_int

Convert decimal string to integer value

Example:

code goes here

os_int_to_string

Convert value in AX to string

Example:

code goes here

os_long_int_to_string

Convert value in DX:AX to string

Example:

code goes here

os_set_time_fmt

Set time reporting format (eg '10:25 AM' or '2300 hours')

Example:

code goes here

os_get_time_string

Get current time in a string (eg '10:25')

Example:

code goes here

os_set_date_fmt

Set date reporting format (M/D/Y, D/M/Y or Y/M/D - 0, 1, 2)

Example:

code goes here

os_get_date_string

Get current date in a string (eg '12/31/2007')

Example:

code goes here

RETURN TO MAIN PAGE