encode string for csv

Solutions on MaxInterview for encode string for csv by the best coders in the world

we are a community of more than 2 million smartest coders
registration for
employee referral programs
are now open
get referred to google, amazon, flipkart and more
register now
  
pinned-register now
showing results for - "encode string for csv"
Morgan
25 Jun 2019
1		$text = str_replace( '"', '\'', $text );
2		$text = '"' . $text . '"';
3		return $text;