Click here to Skip to main content
15,895,799 members

Comments by JDevZA (Top 3 by date)

JDevZA 24-Feb-16 2:19am View    
Yes you are right here.i do have a service that is doing the same job but thought it can also do the same task here in the web application and not have 2 points of conflict/interest should something happen to the service or api.
JDevZA 5-Feb-16 4:16am View    
This is not the case.when i debugged the logic.i was getting this on my debugger:

"\"27730367747,\\\"Testssss, thissss is a comma test.Please ignore plz.\\\"\""

and when i writeline the logic i got:
"27730367747,\"Testssss, thissss is a comma test.Please ignore plz.\""

Which had me dumbfounded...
JDevZA 5-Feb-16 4:14am View    
Hi , your idea of replacing the special characters seem to have worked. Thank you! i have made a string manipulation worker method that does the replace.The API method accepts the batch string like so on:

string testBatch = "27730367747,\"test,test\"\r\n27832603166,\"test,test\"\r\n27781204137,\"test,test\"";

so i just had to manipulate it to its preferred format with the string literals which where giving me the problem.