B b1nfen9 Client Регистрация 28.01.2013 Сообщения 56 Благодарностей 0 Баллы 6 11.05.2013 #1 ?? In the WIKI the above copied down test will not work
shade Client Регистрация 19.11.2010 Сообщения 580 Благодарностей 346 Баллы 63 11.05.2013 #2 b1nfen9 сказал(а): Посмотреть вложение 3738 ?? In the WIKI the above copied down test will not work Нажмите, чтобы раскрыть... Do you want use Spintax or Split method? Spintax method takes one parameter (code from wiki): JavaScript: var yourText = "{Hi|Hey}"; return Macros.TextProcessing.Spintax(yourText); But Split method takes three parameters (code from wiki) JavaScript: var yourText = "email:password"; return Macros.TextProcessing.Split(yourText,":","all").Count(); You something mixed up when you have copied code. I should say in documentation all correct.
b1nfen9 сказал(а): Посмотреть вложение 3738 ?? In the WIKI the above copied down test will not work Нажмите, чтобы раскрыть... Do you want use Spintax or Split method? Spintax method takes one parameter (code from wiki): JavaScript: var yourText = "{Hi|Hey}"; return Macros.TextProcessing.Spintax(yourText); But Split method takes three parameters (code from wiki) JavaScript: var yourText = "email:password"; return Macros.TextProcessing.Split(yourText,":","all").Count(); You something mixed up when you have copied code. I should say in documentation all correct.