Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reverse comma-delimited string
Message
 
 
À
12/09/2019 16:34:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01670542
Message ID:
01670819
Vues:
46
>>>That sounds interesting. I am dealing a lot with large strings and files, and that could significantly improve performance.
>>I'll work on it tonight.
>
>Actually, I'll wait to hear some feedback and work on it this weekend.
>
>>What are some of the API functions you'd like to see? I'll use a FSTR prefix, for "fast string."
>>FSTRNEW(nSize)
>>FSTRBEF("new text to prepend", lcName)
>>FSTRAFT(lcName, "new text to append")
>>FSTRMID(lcName, nStartingChar, "new text to insert")
>>FSTRLEN(lcName)
>>FSTRZAP(lcName)
>>FSTRFREE(lcName)
>>FSTRDEL(lcName, nStart, nLength)
>>FSTRCHRTRAN(lcName, cSearchString, cReplaceString)
>>lcString = FSTRSUBSTR(lcName, nStart, nLength)
>>lcString = FSTRDATA(lcName[, .t.]) && .t. -- Delete after extract?

That's a lot already, only one I would like to see is STREXTRACT().
Christian Isberner
Software Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform