ContentsIndex
PreviousUpNext
String Operations
Topics | Functions
Description

Provides functions of string operations, such as string conversion and comparison.

Introduction

There are two type of strings are allowed in this platform. They are byte-strings and word-strings. A byte-string is a string that each character is one byte in size. A word-string is a string that each character is one word (two bytes) in size. 

The functions provided in the module allow the application to convert a string to integer, upper or lower case, to compare two strings, to search for a string pattern, to copy a string, to concatenate two strings, etc.

Limitation

N/A

Group
Functions
Function 
Description 
Checks if a string is ended with a specified string. 
Compares two strings without case sensitive. 
Converts the characters in the string pointed by source to all lower case in the string pointed by destination. 
Converts a number-formatted string to an integer. It returns -1, if the number formatted string is a negative string, such as "-12345". 
Converts the characters in the string pointed by source to all upper case in the string pointed by destination. 
Compares two UCS-2 strings. 
Appends the UCS-2 string pointed by source to the UCS-2 string pointed by destination. The caller should ensure the destination buffer is large enough to contain the concatenated resulting string. 
Copies the UCS-2 string pointed by source to the UCS-2 string pointed by destination. The caller should ensure that the destination buffer is large enough to contain the copied resulting string. 
Copies specified number of characters in a UCS-2 string pointed by source to the UCS-2 string pointed by destination. The caller should ensure that the destination buffer is large enough to contain the copied resulting string. This function does not insert null terminated '0' at the end of the resulting string. 
Checks if a UCS-2 string is ended with a specified UCS-2 string. 
Gets the filename from the full path, in UCS-2 encoding. 
Gets file path from full path, in UCS-2 encoding. 
A UCS-2 string safe copy operation. It copies the string pointed by source to the string pointed by destination, up to the length of the destination buffer. The extra characters will not be copied. 
output the wchar string to buffer with the format input 
Checks if the UCS-2 string starts with a specified UCS-2 string. 
Gets the length of a UCS-2 string. 
Links
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.