How to manipulate a part of string: Split, Trim, Substring, Replace, Remove, Left, Right

Hi @Nasya.Idris I have seen it was questioned long back. Still posting the link for your question through my short video.
Hoping it would help, if anyone approaches here with same question or you can even refer for the better and single liner approach.

This was treasure

Very good post. This has helped me several times :slight_smile:
Thanks for sharing!

Hello there,

Is there any way to remove the bullet point without text through automation in word?

1 Like

TestText.replace(“•”,“”)

I used the assign method for removing the bullet. The left variable (“ohne_Aufzählungspunkt”) represents the variable for the result of the execution. For the right variable (“Aufzählungspunkt”), the enumeration point should be removed using enumeration_point.Replace("• ", “”). Unfortunately this does not work. Is there a better way to do this?

Try with this:

System.Text.RegularExpressions.regex.replace(yourVariable,"(\u2022|\u2023|\u25E6|\u2043|\u2219)","")
1 Like

Works for me

Thank you. Will check it out

1 Like

Hello together,

I’m getting crazy. Someone can help with extracting the actual title?
Here is the text (the TEST TITLE TO BE EXTRACTED I want as a result):

"/
aStandard Operating Manual
InstrucciĂłn
aTĂ­tulo:
aTEST TITLE TO BE EXTRACTED
a
aNĂşmero:
aD54148483
"
Thanks in advance :slight_smile: !