All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.skillw.pouvoir.internal.feature.operation.str.OperationAppend.kt Maven / Gradle / Ivy

There is a newer version: 1.6.7-beta-6
Show newest version
package com.skillw.pouvoir.internal.feature.operation.str

import com.skillw.pouvoir.api.feature.operation.StringOperation
import com.skillw.pouvoir.api.plugin.annotation.AutoRegister
import com.skillw.pouvoir.internal.manager.PouConfig
import taboolib.common.util.join

@AutoRegister
object OperationAppend : StringOperation("append") {
    override fun operate(a: String, b: String): String {
        return join(arrayOf(a, b), separator = PouConfig.strAppendSeparator)
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy