Bonsoir,
La section "Questions/Réponses PHP" en php semble morte mais je tente quand même. J'ai besoin de votre aide pour utiliser "Split".
en VB.NET je fais comme ce-ci : Dim str As String = "1 - 2".Split(CChar("-"))(0) '1
Dim str As String = "1 - 2".Split(CChar("-"))(1) '2
Et apparemment en php c'est différend quelqu'un aurait une idée?
$str.split(pattern, string)
doc: http://php.net/manual/fr/function.split.php
Cordialement,