Hi Team,
how to i convert T Yesu Raju as t yeSU raju by using for each in if condition
Please let me know
Hi Team,
how to i convert T Yesu Raju as t yeSU raju by using for each in if condition
Please let me know
Can you give further explanation?
Use below approach:
Assign activity: originalString = “T Yesu Raju”
Assign activity: convertedString = “”
For Each activity (item: currentChar, in: originalString)
4. If activity (Condition: currentChar = Char.ToLower(currentChar) and currentChar <> Char.ToUpper(currentChar))
5. Assign activity: convertedString = convertedString + currentChar.ToLower()
6. Else
7. Assign activity: convertedString = convertedString + currentChar
Log Message activity: convertedString
Hi @T_Y_Raju
Assign: inputString = “T Yesu Raju”
ForEach: item in inputString.toCharArray
Assign: outputString = If(Char.IsUpper(item) AndAlso item <> " ", Char.ToLower(item).ToString,
item.ToString)
MessageBox: outputString
Hope it helps!!
Hi @T_Y_Raju
Try this
I hope it helps!!
@T_Y_Raju ,Try this