SOLUCIONADO
String Manipulation
Opções
- Inscrever-se no RSS Feed
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico do usuário atual
- Marcar como favorito
- Inscrever-se
- Emudecer
- Versão para impressão
Krish
Asteroide
03-22-2017
05:06 AM
- Marcar como novo
- Marcar como favorito
- Inscrever-se
- Emudecer
- Inscrever-se no RSS Feed
- Realçar
- Imprimir
- Notificar o moderador
Hi,
I need a help in converting string in following way.
1_Rec_Type to be converted to 1:Rec_type
2_Rec_Len to be converted to 2:Rec_Len
i.e first occurrence of _ to be replaced with :
thanks,
Krish
Solucionado! Ir para Solução.
Rótulos:
- Rótulos:
- Dynamic Processing
2 RESPOSTAS 2
17 - Castor
03-22-2017
05:18 AM
- Marcar como novo
- Marcar como favorito
- Inscrever-se
- Emudecer
- Inscrever-se no RSS Feed
- Realçar
- Imprimir
- Notificar o moderador
@Krish Have a look at the function ReplaceFirst. Here is the help doc on it:
ReplaceFirst(Str, Target, Replacement) Returns the string (Str) after replacing the first occurrence of the string (Target) with the string (Replacement). Example ReplaceFirst("abcdefb", "b", "_") returns "a_cdefb"
daniellefzimmerman
Meteoroide
10-11-2023
07:38 AM
- Marcar como novo
- Marcar como favorito
- Inscrever-se
- Emudecer
- Inscrever-se no RSS Feed
- Realçar
- Imprimir
- Notificar o moderador
thank you! I did not know this formula existed. you saved me hours of headache.
