encode string for csv

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

showing results for - "encode string for csv"
Morgan
25 Jun 2019
1		$text = str_replace( '"', '\'', $text );
2		$text = '"' . $text . '"';
3		return $text;