[Gambas-user] New behaviour for the Split() instruction

Benoît Minisini gambas at ...1...
Sat Nov 29 22:21:42 CET 2014


Le 29/11/2014 22:13, Benoît Minisini a écrit :
> I'm currently a new behaviour for the Split() instruction, that is
                .
               /|\
defining ------'

> normally backward-compatible.
>
> 	Split("abcd",";","\\;")
>
> splits the "abcd" string with the ";" character, and uses the backslash
> character for escaping it.
>
> This behaviour is enabled when the escape string (the third argument)
> has two characters, and its second character is the same as the first
> splitting character (the second argument). Then the first character of
> the escape string is the escape character (usually a backslash).
>
> What do you think about that?
>

-- 
Benoît Minisini




More information about the User mailing list