i pasted this code into my child theme's functions.php file (begining on line 5, //Custom CSS styles...), which is resulting in an unexpected T_string error on my site. any ideas how to fix?

<?php

add_theme_support( 'builder-3.0' );

// Custom CSS styles on WYSIWYG Editor – Start

if ( ! function_exists( ‘myCustomTinyMCE’ ) ) :
function myCustomTinyMCE($init) {
$init['theme_advanced_buttons2_add_before'] = ‘styleselect’; 

// Adds the buttons at the begining. theme_advanced_buttons2_add adds them at the end

$init['theme_advanced_styles'] = ‘Float Left=fleft,Float Right=fright’;
return $init;
}
endif;
add_filter(‘tiny_mce_before_init’, ‘myCustomTinyMCE’ );
add_filter( ‘mce_css’, ‘tdav_css’ );
add_editor_style(‘mycustomstyles.css’);

// incluiding the Custom CSS on our theme.

function mycustomStyles(){
wp_enqueue_style( ‘myCustomStyles’, get_bloginfo(‘stylesheet_directory’).’/mycustomstyles.css’, ”,”,’all’ ); 

//adjust this path if you place “mycustomstyles.css” in a different folder than the theme’s root.

}
add_action(‘init’, ‘mycustomStyles’);

//Custom CSS Styles end

unexpected T_string usually means you missed a semicolon or closing brace somewhere. What does the error message actually say? It usually gives you a hint about what line the error is near.

Hi
The single quotes in you code looks strange ‘...’ is different from '...' .
Try use single quotes from US keybord.

MarPlo, you were right, thank you.