尝试在Google电子表格中合并两个单元格,将所有空格替换为" - ",并将所有内容替换为小写。
小区1:GWG-1
单元格2:产品名称1
New Cell 3:gwg-1-product-name-1
答案 0 :(得分:3)
您的基本公式是:
""
我们可以将两个单元连接在一起以获得所需的输出:
public class FirebaseMessagingService extends com.google.firebase.messaging.FirebaseMessagingService{
String TAG = "FirebaseMessagingService";
@Override
public void onMessageReceived(RemoteMessage remoteMessage){
Log.i(TAG," input string :"+ String.valueOf(remoteMessage.getData()));
/**
* Parse remote input and pass id, action, frequency and payload to eventHandler.
* **/
String messageType = remoteMessage.getMessageType();// messageType is null always
if(messageType.equalsIgnoreCase("Data")){
Log.i(TAG, " Data notification received");
}
else if(messageType.equalsIgnoreCase("Notification")){
Log.i(TAG, " Push notification received");
}
}
Google表格
答案 1 :(得分:2)