string manipulation

Osk
09-06-2003, 02:17 PM
Hi again,

I have a string say containg my name 'osk',
i will add a char to the front of the string.

what i want to be able to do id check the first letter of the string to see what it is and then remove it and put the rest of the string in to a variable...

if anyone can point me in the right direction on how to check the first char and then remove it , It would be really appriciated.

TIA.
Osk.

SnakeChomp
09-06-2003, 02:33 PM
Left$(String, 1) returns the first character in the string.
Right$(String, Len(String)-1) returns the entire string minus the first character.

Osk
09-06-2003, 02:35 PM
thanks a million me old china....

8-)
Osk.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum