Click or drag to resize
CSTR Class
This library is not a class. Use the STR library functions to work with and manipulate string variables. Since the GX Programming Language does not provide string literal tokens, you must use these functions for any string operations you want to perform.
Inheritance Hierarchy
SystemObject
  GeoEngine.Core.GXNetCSTR

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public static class CSTR

The CSTR type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyoneStatic memberEscape
Convert/replace escape sequences in strings.
Public methodAvailable to anyoneStatic memberiChar
Returns the ASCII value of a character.
Public methodAvailable to anyoneStatic memberiCountTokens
Counts number of tokens.
Public methodAvailable to anyoneStatic memberIFileCombineParts
Combine file parts to build a file name.
Public methodAvailable to anyoneStatic memberIFileExt
Add a file extension onto a file name string.
Public methodAvailable to anyoneStatic memberIFileNamePart
Get part of a file name.
Public methodAvailable to anyoneStatic memberIFormatCRC
Convert a GX CRC value to a string.
Public methodAvailable to anyoneStatic memberIFormatDate
Convert a GX real to a date string.
Public methodAvailable to anyoneStatic memberIFormatI
Convert a GX int to a string.
Public methodAvailable to anyoneStatic memberIFormatR
Convert a GX real to a string with significant digits.
Public methodAvailable to anyoneStatic memberIFormatR2
Convert a GX real to a string with given decimals.
Public methodAvailable to anyoneStatic memberIFormatReal
Convert a GX real to a string.
Public methodAvailable to anyoneStatic memberIFormatTime
Convert a GX real to a time string.
Public methodAvailable to anyoneStatic memberIGenGroupName
Generate a group name string from type string, database and channel(optional) strings..
Public methodAvailable to anyoneStatic memberIGetMFile
Get the indexed filepath from a multiple filepath string
Public methodAvailable to anyoneStatic memberIGetToken
Get a token from a tokenized string.
Public methodAvailable to anyoneStatic memberIiCharN
Returns the ASCII value of the n'th character.
Public methodAvailable to anyoneStatic memberIJustify
Justify a string
Public methodAvailable to anyoneStatic memberIRemoveQualifiers
Remove file qualifiers from a file name
Public methodAvailable to anyoneStatic memberIReplaceiMatchString
Replaces all occurances of match string by replacement string with case insensitive.
Public methodAvailable to anyoneStatic memberIReplaceMatchString
Replaces all occurances of match string by replacement string with case sensitive.
Public methodAvailable to anyoneStatic memberiScanI
Convert a string to a GX int.
Public methodAvailable to anyoneStatic memberISetCharN
Set the n'th character of a string using an ASCII value
Public methodAvailable to anyoneStatic memberISplitString
Splits a string in two on a character.
Public methodAvailable to anyoneStatic memberIStrcat
This method contatinates a string.
Public methodAvailable to anyoneStatic memberiStrcmp
This method compares two strings and returns these values
Public methodAvailable to anyoneStatic memberIStrcpy
This method copies a string into another string.
Public methodAvailable to anyoneStatic memberiStriMask
Case insensitive comparison of two strings.
Public methodAvailable to anyoneStatic memberIStrins
This method inserts a string at a specified position.
Public methodAvailable to anyoneStatic memberiStrlen
Returns the length of a string.
Public methodAvailable to anyoneStatic memberiStrMask
Case sensitive comparison of two strings.
Public methodAvailable to anyoneStatic memberiStrMin
Remove spaces and tabs and return length
Public methodAvailable to anyoneStatic memberiStrMin2
Length less spaces and tabs, string unchanged.
Public methodAvailable to anyoneStatic memberiStrncmp
Compares two strings to a given number of characters.
Public methodAvailable to anyoneStatic memberiStrStr
Scan a string for the occurrence of a given substring.
Public methodAvailable to anyoneStatic memberISubstr
Extract part of a string.
Public methodAvailable to anyoneStatic memberiTokenize
Tokenize a string based on any characters.
Public methodAvailable to anyoneStatic memberiTokens
Tokenize a string
Public methodAvailable to anyoneStatic memberiTokens2
General tokenize a string
Public methodAvailable to anyoneStatic memberIToLower
Convert a string to lower case.
Public methodAvailable to anyoneStatic memberIToUpper
Convert a string to upper case.
Public methodAvailable to anyoneStatic memberIXYZLine
Make a valid XYZ line name from a valid DB line name.
Public methodAvailable to anyoneStatic memberMakeAlpha
Turns all non alpha-numeric characters into an _.
Public methodAvailable to anyoneStatic memberParseList
Parse a tokenized list to get a selection list.
Public methodAvailable to anyoneStatic memberPrintf
Variable Argument PrintF function
Public methodAvailable to anyoneStatic memberReplaceChar
Replaces characters in a string.
Public methodAvailable to anyoneStatic memberReplaceChar2
Replaces characters in a string, supports simple removal.
Public methodAvailable to anyoneStatic memberReplaceMultiChar
Replaces multiple characters in a string.
Public methodAvailable to anyoneStatic memberReplaceNonASCII
Replace non-ASCII characters in a string.
Public methodAvailable to anyoneStatic memberrScanDate
Convert a date string to a GX real.
Public methodAvailable to anyoneStatic memberrScanForm
Convert a formated string to a real.
Public methodAvailable to anyoneStatic memberrScanR
Convert a string to a GX real.
Public methodAvailable to anyoneStatic memberrScanTime
Convert a time string to a GX real.
Public methodAvailable to anyoneStatic memberSetChar
Set a string's first character using an ASCII value of a character.
Public methodAvailable to anyoneStatic memberTrimQuotes
Remove double quotes.
Public methodAvailable to anyoneStatic memberTrimSpace
Remove leading and/or trailing whitespace.
Public methodAvailable to anyoneStatic memberUnQuote
Remove double quotes from string
Top
See Also