Remove strConcat function

This commit is contained in:
syuilo 2019-05-01 16:07:05 +09:00
parent 4747ae8b61
commit ca6fc9cd79
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69
2 changed files with 0 additions and 6 deletions

View file

@ -1953,10 +1953,6 @@ pages:
strReverse: "テキストを反転" strReverse: "テキストを反転"
_strReverse: _strReverse:
arg1: "テキスト" arg1: "テキスト"
strConcat: "2つのテキストを連結"
_strConcat:
arg1: "テキスト1"
arg2: "テキスト2"
join: "テキストを連結" join: "テキストを連結"
_join: _join:
arg1: "リスト" arg1: "リスト"

View file

@ -80,7 +80,6 @@ const funcDefs = {
strPick: { in: ['string', 'number'], out: 'string', category: 'text', icon: faQuoteRight, }, strPick: { in: ['string', 'number'], out: 'string', category: 'text', icon: faQuoteRight, },
strReplace: { in: ['string', 'string', 'string'], out: 'string', category: 'text', icon: faQuoteRight, }, strReplace: { in: ['string', 'string', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
strReverse: { in: ['string'], out: 'string', category: 'text', icon: faQuoteRight, }, strReverse: { in: ['string'], out: 'string', category: 'text', icon: faQuoteRight, },
strConcat: { in: ['string', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
join: { in: ['stringArray', 'string'], out: 'string', category: 'text', icon: faQuoteRight, }, join: { in: ['stringArray', 'string'], out: 'string', category: 'text', icon: faQuoteRight, },
stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: faExchangeAlt, }, stringToNumber: { in: ['string'], out: 'number', category: 'convert', icon: faExchangeAlt, },
numberToString: { in: ['number'], out: 'string', category: 'convert', icon: faExchangeAlt, }, numberToString: { in: ['number'], out: 'string', category: 'convert', icon: faExchangeAlt, },
@ -500,7 +499,6 @@ export class AiScript {
strPick: (a, b) => a[b - 1], strPick: (a, b) => a[b - 1],
strReplace: (a, b, c) => a.split(b).join(c), strReplace: (a, b, c) => a.split(b).join(c),
strReverse: (a) => a.split('').reverse().join(''), strReverse: (a) => a.split('').reverse().join(''),
strConcat: (a, b) => a + b,
join: (texts, separator) => texts.join(separator || ''), join: (texts, separator) => texts.join(separator || ''),
stringToNumber: (a) => parseInt(a), stringToNumber: (a) => parseInt(a),
numberToString: (a) => a.toString(), numberToString: (a) => a.toString(),