class STStringsEx

Command string mangeling functions. More...

Definition#include <STStringsEx.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members


Detailed Description

Things you need to do to a string.

QString ReturnString

ReturnString

int  LastPos (QString &SubString, QString &TheFullString)

LastPos

This function returns the last position of a sub string in a string.

I found that QString::find(QChar ,int ,bool) when the QChar is "/" and int is a negitive like -1, it errors. I feel this is a bug in QString::find but I decided to fix it this way.

int  LastPos (const char *SubString, QString &TheFullString)

LastPos

int  LastPos (const char SubString, QString &TheFullString)

LastPos

QString  stripChars (QString &TheString,char TheChar)

stripChars

QString  stripClean (QString &TheString)

stripClean

Removes any chars that are not alpha-numeric from the front and end of the given string.

void  Bin2Dec (QString &SourceString, QString &DestinationString)

Bin2Dec

Converts a string of binary as text to a string of decimal as text.

void  Dec2Hex (QString &SourceString, QString &DestinationString)

Dec2Hex

Converts a string of decimal as text to a string of hex as text.

void  Hex2Dec (QString &SourceString, QString &DestinationString)

Hex2Dec

Converts a string of hex as text to a string of decimal as text.

void  HexStr2Ascii (QString &SourceString, QString &DestinationString, bool MaskLow,bool MaskHi, char MaskChar)

HexStr2Ascii

int  InsertCrLf (QString *InsertingToString, int SpaceNear, char CrLfChar)

InsertCrLf

void  ParseIdentifier (QString &TheString, int IdentifierIndex)

ParseIdentifier


Generated by: root on UtopiaPlanitia.Ept on Mon Dec 10 22:55:12 2001, using kdoc 2.0a53.