The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: Nonameo on September 06, 2005, 06:43:50 PM

Title: My Strings File
Post by: Nonameo on September 06, 2005, 06:43:50 PM
Hey Guys.

I made a few useful functions while working on my most recent project which i thought i might share.

This file is by no means "complete" but its got some helpful functions which i think might come in use to some other coders other than myself.

-Nonameo-

[attachment deleted by admin]
Title: Re: My Strings File
Post by: Snouphruh on September 13, 2005, 08:38:21 AM
I wrote some string functions too and some of them are similar to your ones, but they are more universal.

for example, you have StringTrim.
I have my myStrTrimLeft that has two parameters like pStringIn and pCharFor.
pStringIn - a pointer to a string will be trimmed.
pCharFor - a char to trim for.

the function trims pCharFor chars from left of the pStringIn string.
and I use pairing of inctructions in V- and U- pipes.

I also have written some another functions like myStrLength, myStrPosLeft, myStrCopy, myStrDelete, myStrIntValue, myStrTrimLeft.

I'd like to exchange by our experiences.