Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can NameParser return a string array?

array nameparser Return String
0
Posted

Can NameParser return a string array?

0

Yes, NameParser can return an array of string values. There are 2 methods which allow this. One is called GetNameArray which accepts a string value, i.e. the name to parse, and returns a string array of the results. The other is called OutPutNameArray and also accepts a string value to parse along with a string array (passed By Reference). It returns an error code other than 0 for error handling and the results are passed back through the referenced string array. Both of these methods are much faster than calling the single methods since only one pass of the core parsing algorithm is required. In say, VB6 you could create your own function and call the OutPutNameArray() method like this: Public Function ParseNorthWindCustomers() As Boolean ‘Demonstrates how to use NameParser’s OutNameArray()method ‘Use the “contact name” field in the Customers table of NORTHWIND.MDB ‘To run this procedure first make sure that you have set a reference (Tools/References) to the NameParser.dll ‘Look for “

0

Yes, NameParser can return an array of string values. There are 2 methods which allow this. One is called GetNameArray which accepts a string value, i.e. the name to parse, and returns a string array of the results. The other is called OutPutNameArray and also accepts a string value to parse along with a string array (passed By Reference). It returns an error code other than 0 for error handling and the results are passed back through the referenced string array. Both of these methods are much faster than calling the single methods since only one pass of the core parsing algorithm is required.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.