Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Case insensitve Strtran
Message
From
21/12/2000 02:28:43
 
 
To
20/12/2000 04:09:17
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00455364
Message ID:
00455775
Views:
34
>Has anyone written one of these? I can't find anything under the files section
>

VBScript.RegExp can do this. You can also use ATC() to do a search and replace using STUFF()
FUNCTION STRTRANNoCase(tcStringToSearch, tcStringToFind, tcStringToReplace)
LOCAL nPosn
nPosn=ATC(tcStringToFind, tcStringToSearch)
DO WHILE nPosn > 0
   tcStringToSearch = STUFF(tcStringToSearch,nPosn,LEN(tcStringToFind),tcStringToReplace)
   nPosn=ATC(tcStringToFind, tcStringToSearch)
ENDDO
RETURN tcStringToSearch
>I really need to go for Premiere membership!
>
>Cheers
>Will
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform