Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/12.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
PHP:substr_使用WP All Import替换拆分字符_Php_Wordpress_Import - Fatal编程技术网

PHP:substr_使用WP All Import替换拆分字符

PHP:substr_使用WP All Import替换拆分字符,php,wordpress,import,Php,Wordpress,Import,我正在使用WP All Import导入csv文件。该文件包含以下格式的汽车牌照:YA08DXF 我希望在右边添加一个空格3个字符,即YA08 DXF 尝试了以下[substr_replace({fullregistration[1]},“,3,0)],它使空格从左起3个字符。尝试添加[substr_replace({fullregistration[1]},“,-3,0)],但它中断了导入 不知道我哪里做错了 Cheers有人知道是否可以将字符序列从结尾拆分为3个空格吗?{fullregist

我正在使用WP All Import导入csv文件。该文件包含以下格式的汽车牌照:YA08DXF

我希望在右边添加一个空格3个字符,即YA08 DXF

尝试了以下[substr_replace({fullregistration[1]},“,3,0)],它使空格从左起3个字符。尝试添加[substr_replace({fullregistration[1]},“,-3,0)],但它中断了导入

不知道我哪里做错了


Cheers

有人知道是否可以将字符序列从结尾拆分为3个空格吗?{fullregistration[1]}是csv文件中的WP All导入元素