Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Single occurrence in a string
Message
From
30/03/2015 09:06:00
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
 
 
To
27/03/2015 13:25:38
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01617326
Message ID:
01617389
Views:
85
This's my function:
Function NonDupe
Lparameters lcStr
xRet=""
xLen=Len(lcStr)
Do Whil !Empty(lcStr)
	xCh=Right(lcStr,1)
	lcStr=Left(lcStr,Len(lcStr)-1)
	If !xCh$lcStr
		xRet=xCh+xRet
	Endif
Enddo
Return xRet
I don't know whether if my code faster or slower than others. I just a few lookup to others, I suppose my code is different. I hope noone blame me about being Code Hood... :)

If Walter would be took and developed Marcia's code there would be not a problem because all of codes at there are SHARING, I can't see any problem. This would be not steailing, this would be just inspire.

I know this's not my business but; I would not call John as Troll. I suppose John is older than me and Tore. In my country we try respect olders if even they're sometimes not being polite... ;)
Previous
Reply
Map
View

Click here to load this message in the networking platform