alexK
October 27th, 1999, 01:23 PM
Is there a standard function to reverse a string?
thks!
thks!
|
Click to See Complete Forum and Search --> : How to reverse a string? alexK October 27th, 1999, 01:23 PM Is there a standard function to reverse a string? thks! santulan October 27th, 1999, 11:31 PM alexK, Use following code, I made a dll of such functions... I just copied it for you. private Function Reverse(myStr as string) as string Dim TempStr as string Dim lLen as Long lLen = len(myStr) TempStr = "" for i = lLen to 1 step -1 TempStr = TempStr & mid(myStr, i, 1) next i Reverse = TempStr End Function I hope this will solve the problem. Santulan Lothar Haensler October 28th, 1999, 01:23 AM vb6 has a strReverse function codeguru.com
Copyright Internet.com Inc., All Rights Reserved. |