15,895,799 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
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.