Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reverse comma-delimited string
Message
From
04/09/2019 17:00:26
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
04/09/2019 16:47:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01670542
Message ID:
01670584
Views:
70
Amazing!! So why isn't anything internal to FoxPro able to do it that fast? A similar speed up could be had in SQL Server with CLR?

>Rick,
>If this is something worth timing for you, then wouldn't you think creating a FLL with C++ or Activex with C#? I made a quick one liner with C# and it was 4x faster than the fastest (alines).
>
>
>string MyReverse(string lcForward)
>{
>	return string.Join(", ", lcForward.Split(',').Select(f => f.Trim()).Reverse());
>}
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform