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.GXNetXCSTR

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

The CSTR type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyoneStatic memberEscape(CGXNETCore, String, Int32)
Convert/replace escape sequences in strings.
Public methodAvailable to anyoneStatic memberEscape(CGXNETCore, String, Int32, Int32)
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(CGXNETCore, String, String, String, String, String, String)
Combine file parts to build a file name.
Public methodAvailable to anyoneStatic memberIFileCombineParts(CGXNETCore, String, String, String, String, String, String, Int32)
Combine file parts to build a file name.
Public methodAvailable to anyoneStatic memberIFileExt(CGXNETCore, String, String, String, Int32)
Add a file extension onto a file name string.
Public methodAvailable to anyoneStatic memberIFileExt(CGXNETCore, String, String, String, Int32, Int32)
Add a file extension onto a file name string.
Public methodAvailable to anyoneStatic memberIFileNamePart(CGXNETCore, String, String, Int32)
Get part of a file name.
Public methodAvailable to anyoneStatic memberIFileNamePart(CGXNETCore, String, String, Int32, Int32)
Get part of a file name.
Public methodAvailable to anyoneStatic memberIFormatCRC(CGXNETCore, Int32, String, Int32)
Convert a GX CRC value to a string.
Public methodAvailable to anyoneStatic memberIFormatCRC(CGXNETCore, Int32, String, Int32, Int32)
Convert a GX CRC value to a string.
Public methodAvailable to anyoneStatic memberIFormatDate(CGXNETCore, Double, String, Int32, Int32)
Convert a GX real to a date string.
Public methodAvailable to anyoneStatic memberIFormatDate(CGXNETCore, Double, String, Int32, Int32, Int32)
Convert a GX real to a date string.
Public methodAvailable to anyoneStatic memberIFormatI(CGXNETCore, Int32, String, Int32)
Convert a GX int to a string.
Public methodAvailable to anyoneStatic memberIFormatI(CGXNETCore, Int32, String, Int32, Int32)
Convert a GX int to a string.
Public methodAvailable to anyoneStatic memberIFormatR(CGXNETCore, Double, String, Int32, Int32)
Convert a GX real to a string with significant digits.
Public methodAvailable to anyoneStatic memberIFormatR(CGXNETCore, Double, String, Int32, Int32, Int32)
Convert a GX real to a string with significant digits.
Public methodAvailable to anyoneStatic memberIFormatR2(CGXNETCore, Double, String, Int32, Int32)
Convert a GX real to a string with given decimals.
Public methodAvailable to anyoneStatic memberIFormatR2(CGXNETCore, Double, String, Int32, Int32, Int32)
Convert a GX real to a string with given decimals.
Public methodAvailable to anyoneStatic memberIFormatReal(CGXNETCore, Double, String, Int32, Int32, Int32)
Convert a GX real to a string.
Public methodAvailable to anyoneStatic memberIFormatReal(CGXNETCore, Double, String, Int32, Int32, Int32, Int32)
Convert a GX real to a string.
Public methodAvailable to anyoneStatic memberIFormatTime(CGXNETCore, Double, String, Int32, Int32, Int32)
Convert a GX real to a time string.
Public methodAvailable to anyoneStatic memberIFormatTime(CGXNETCore, Double, String, Int32, Int32, Int32, Int32)
Convert a GX real to a time string.
Public methodAvailable to anyoneStatic memberIGenGroupName(CGXNETCore, String, String, String, String)
Generate a group name string from type string, database and channel(optional) strings..
Public methodAvailable to anyoneStatic memberIGenGroupName(CGXNETCore, String, String, String, String, Int32)
Generate a group name string from type string, database and channel(optional) strings..
Public methodAvailable to anyoneStatic memberIGetMFile(CGXNETCore, String, String, Int32)
Get the indexed filepath from a multiple filepath string
Public methodAvailable to anyoneStatic memberIGetMFile(CGXNETCore, String, String, Int32, Int32)
Get the indexed filepath from a multiple filepath string
Public methodAvailable to anyoneStatic memberIGetToken(CGXNETCore, String, String, Int32)
Get a token from a tokenized string.
Public methodAvailable to anyoneStatic memberIGetToken(CGXNETCore, String, Int32, String, Int32)
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(CGXNETCore, String, String, Int32, Int32)
Justify a string
Public methodAvailable to anyoneStatic memberIJustify(CGXNETCore, String, String, Int32, Int32, Int32)
Justify a string
Public methodAvailable to anyoneStatic memberIRemoveQualifiers(CGXNETCore, String, String)
Remove file qualifiers from a file name
Public methodAvailable to anyoneStatic memberIRemoveQualifiers(CGXNETCore, String, String, Int32)
Remove file qualifiers from a file name
Public methodAvailable to anyoneStatic memberIReplaceiMatchString(CGXNETCore, String, String, String)
Replaces all occurances of match string by replacement string with case insensitive.
Public methodAvailable to anyoneStatic memberIReplaceiMatchString(CGXNETCore, String, String, String, Int32)
Replaces all occurances of match string by replacement string with case insensitive.
Public methodAvailable to anyoneStatic memberIReplaceMatchString(CGXNETCore, String, String, String)
Replaces all occurances of match string by replacement string with case sensitive.
Public methodAvailable to anyoneStatic memberIReplaceMatchString(CGXNETCore, String, String, String, Int32)
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(CGXNETCore, String, Int32, Int32)
Set the n'th character of a string using an ASCII value
Public methodAvailable to anyoneStatic memberISetCharN(CGXNETCore, String, Int32, Int32, Int32)
Set the n'th character of a string using an ASCII value
Public methodAvailable to anyoneStatic memberISplitString(CGXNETCore, String, String, String)
Splits a string in two on a character.
Public methodAvailable to anyoneStatic memberISplitString(CGXNETCore, String, String, String, Int32)
Splits a string in two on a character.
Public methodAvailable to anyoneStatic memberIStrcat(CGXNETCore, String, String)
This method contatinates a string.
Public methodAvailable to anyoneStatic memberIStrcat(CGXNETCore, String, String, Int32)
This method contatinates a string.
Public methodAvailable to anyoneStatic memberiStrcmp
This method compares two strings and returns these values
Public methodAvailable to anyoneStatic memberIStrcpy(CGXNETCore, String, String)
This method copies a string into another string.
Public methodAvailable to anyoneStatic memberIStrcpy(CGXNETCore, String, String, Int32)
This method copies a string into another string.
Public methodAvailable to anyoneStatic memberiStriMask
Case insensitive comparison of two strings.
Public methodAvailable to anyoneStatic memberIStrins(CGXNETCore, String, Int32, String)
This method inserts a string at a specified position.
Public methodAvailable to anyoneStatic memberIStrins(CGXNETCore, String, Int32, String, Int32)
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(CGXNETCore, String, String, Int32, Int32)
Extract part of a string.
Public methodAvailable to anyoneStatic memberISubstr(CGXNETCore, String, Int32, String, Int32, Int32)
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(CGXNETCore, String)
Convert a string to lower case.
Public methodAvailable to anyoneStatic memberIToLower(CGXNETCore, String, Int32)
Convert a string to lower case.
Public methodAvailable to anyoneStatic memberIToUpper(CGXNETCore, String)
Convert a string to upper case.
Public methodAvailable to anyoneStatic memberIToUpper(CGXNETCore, String, Int32)
Convert a string to upper case.
Public methodAvailable to anyoneStatic memberIXYZLine(CGXNETCore, String, String)
Make a valid XYZ line name from a valid DB line name.
Public methodAvailable to anyoneStatic memberIXYZLine(CGXNETCore, String, String, Int32)
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(CGXNETCore, String, String)
Variable Argument PrintF function
Public methodAvailable to anyoneStatic memberPrintf(CGXNETCore, String, Int32, String)
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