[SPANISH]
Bien, el otro dia intentando manejar URLS con "$gettok" se me presento un problema:

Cuando queria sacar la URL del archivo y acababa en el caracter de sepearacion del token no me devolvia ese ultimo caractarer:

$gettok(bug/gettok/mierda/joder/,1-,47)

Devuelve: bug/gettok/mierda/joder

$gettok(bug/gettok/mierda/joder///////////////,1-,47)

Devuelve: bug/gettok/mierda/joder



Cuando se añade algo mas final que no sea el caracter de separacion, ya funciona bien:

$gettok(bug/gettok/mierda/joder/SolucionFallo,1-,47)

Devuelve: bug/gettok/mierda/joder/SolucionFallo

$gettok(bug/gettok/mierda/joder///////////////SolucionFallo,1-,47)

Devuelve: bug/gettok/mierda/joder/SolucionFallo
[Como pueden comprobar, cuando se pone el caracter de separación más de una vez, tambien falla el codigo.]



Despues para sacar lo original (Recordad: bug/gettok/mierda/joder/):
$remove($gettok(bug/gettok/mierda/joder/SolucionFallo,1-,47),SolucionFallo)

Esto devuelve: bug/gettok/mierda/joder/




[ENGLISH]
Well, the other day trying to handle URLS with "$gettok" I appear a problem:

When it wanted to remove the URL from the file and finished in the character of sepearacion of they token did not give back that to me I complete to caractarer:

$gettok(bug/gettok/mierda/joder/,1-,47)
It gives back: bug/gettok/mierda/joder

$gettok(bug/gettok/mierda/joder///////////////,1-,47)
It gives back: bug/gettok/mierda/joder


When something but final is added that is not the separation character, it already works well:
$gettok(bug/gettok/mierda/joder/SolucionFallo,1-,47)
It gives back: bug/gettok/mierda/joder/SolucionFallo

$gettok(bug/gettok/mierda/joder///////////////SolucionFallo,1-,47)
It gives back: bug/gettok/mierda/joder/SolucionFallo
[As they can verify, when the character of separation more of once is put, also fails I cosay.]


Later to remove the original thing (You remember: bug/gettok/mierda/joder/):
$remove($gettok(bug/gettok/mierda/joder/SolucionFallo,1-,47),solucionfallo)
This gives back: bug/gettok/mierda/joder/