Zoho, socio de confianza en la transformación digital
text_variable = "Hello World";
string_length = len(text_variable);
// Returns: 11
full_text = "Zoho Creator";
// Extract from position 5 to 11
result = substring(full_text, 5, 11);
// Returns: "Creator"
// Extract from position 0 to 4
result2 = substring(full_text, 0, 4);
// Returns: "Zoho"
text = "Zoho Creator is powerful";
position = indexOf(text, "Creator");
// Returns: 5
// Case-sensitive search
position2 = indexOf(text, "creator");
// Returns: -1 (not found)
original = "Hello World";
new_text = replace(original, "World", "Creator");
// Returns: "Hello Creator"
// Replace all occurrences
text = "test test test";
result = replace(text, "test", "demo");
// Returns: "demo demo demo"
messy_text = " Hello World ";
clean_text = trim(messy_text);
// Returns: "Hello World"
// Also removes tabs and newlines
complex_text = "\t\n Zoho \n\t";
cleaned = trim(complex_text);
// Returns: "Zoho"
first_name = "John";
last_name = "Smith";
full_name = concat(first_name, " ", last_name);
// Returns: "John Smith"
// Alternative using + operator
full_name2 = first_name + " " + last_name;
// Returns: "John Smith"
csv_data = "apple,banana,orange";
fruit_list = split(csv_data, ",");
// Returns: ["apple", "banana", "orange"]
// Access individual elements
first_fruit = fruit_list.get(0);
// Returns: "apple"
text = "Zoho Creator";
upper_text = toUpperCase(text);
// Returns: "ZOHO CREATOR"
lower_text = toLowerCase(text);
// Returns: "zoho creator"
email = "user@zoho.com";
is_zoho = contains(email, "zoho");
// Returns: true
// Case-sensitive
is_ZOHO = contains(email, "ZOHO");
// Returns: false
filename = "report.pdf";
is_pdf = endsWith(filename, ".pdf");
// Returns: true
url = "https://zoho.com";
is_secure = startsWith(url, "https");
// Returns: true
email_input = input.Email;
if(len(email_input) > 0 && contains(email_input, "@")) {
at_position = indexOf(email_input, "@");
domain = substring(email_input, at_position + 1, len(email_input));
if(contains(domain, ".")) {
// Valid email format
info "Valid email: " + email_input;
}
}
full_name = trim(input.Full_Name);
if(len(full_name) > 0) {
name_parts = split(full_name, " ");
first_name = name_parts.get(0);
if(name_parts.size() > 1) {
last_name = name_parts.get(name_parts.size() - 1);
}
// Capitalize first letters
formatted_first = toUpperCase(substring(first_name, 0, 1)) + toLowerCase(substring(first_name, 1, len(first_name)));
}
¿Listo para implementar estas funciones de cadena en sus aplicaciones Creator? Cuando esté listo para crear potentes flujos de trabajo de procesamiento de texto, puede empezar con la plataforma de desarrollo avanzada de Zoho Creator , donde tendrá acceso al entorno completo de scripting de Deluge.
¿Necesita soluciones de procesamiento de cadenas personalizadas o desarrollo avanzado de Deluge?
Scripts de Deluge | Desarrollo personalizado | Capacitación y consultoría
Creatorscripts@zoho.com | 8444552263
⭐ Orgulloso ganador del premio Zoho Creator's Tech Star en el sector salud ⭐
Con la confianza de empresas de todo el mundo
Este correo electrónico se envió automáticamente con Creator Scripts
© 2025 Creator Scripts - Socio de confianza de Zoho en la transformación digital