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:
arg1: "テキスト"
strConcat: "2つのテキストを連結"
_strConcat:
arg1: "テキスト1"
arg2: "テキスト2"
join: "テキストを連結"
_join:
arg1: "リスト"

View File

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