- Joined
- Jun 17, 2016
- Messages
- 8
- Reaction score
- 1
- First Language
- German
- Primarily Uses
Hello 
sry for my bad english!
I have a "Parameters" with this text "Hello, i'm a test text and i'm a loooooong text for testing the box."
* @param Description
* @desc test text
* @default Hello, i'm a test text and i'm a loooooong text for testing the box.
so, i dont have a idea for Split the text.
i know i can to ths with that:
var names = bpcpara["Description"].split(",").filter(function(value) { return !!value; });
but i would change my text so:
Hello, i'm a test text and i'm a
loooooong text for testing the box.
How i can to this?
Mfg
Sajiki
sry for my bad english!
I have a "Parameters" with this text "Hello, i'm a test text and i'm a loooooong text for testing the box."
* @param Description
* @desc test text
* @default Hello, i'm a test text and i'm a loooooong text for testing the box.
Code:
var bpcpara = PluginManager.parameters("BPC_Difficulty");
var txtcolord = String(bpcpara["Text Color Description"]);
so, i dont have a idea for Split the text.
i know i can to ths with that:
var names = bpcpara["Description"].split(",").filter(function(value) { return !!value; });
but i would change my text so:
Hello, i'm a test text and i'm a
loooooong text for testing the box.
How i can to this?
Mfg
Sajiki
