trocar ponto por vírgula na string numérica
-
trocar ponto por vírgula na string numérica
Tem como configurar no notepad ++? -
You weren’t very specific, so in simple terms, to change a character like
;
into a character like,
anywhere in the document, you would use Search > Replace and set FIND WHAT =;
and REPLACE WITH =,
If you only want to do it in the context of just when the semicolon is “inside numbers”, you would have to use a regular expression search mode rather than regular search mode. For example, if you have
123;45
and want to change it to123,45
, you could look for “some number of digits, a semicolon, then more digits”: FIND WHAT =(\d+);(\d+)
and REPLACE WITH =$1,$2
and SEARCH MODE =Regular Expression
. (More on these in “useful references” will be below.)If this isn’t enough for your data, you need to be more specific: Please show some example “before” and “after” data – you can use the </> button on the toolbar when making your post to get a pair of
```
lines in post, and you can put your data between those lines.(BTW: English is the official language of this forum. You might want to try to translate your native language into English yourself, or to use an online translator you trust. Otherwise, you are relying on the readers [or their browsers] to all do the translation for you, which means your intent might not be making it through their translation.)
----
Useful References
-
@Carlos-Zucareli-Renó said in trocar ponto por vírgula na string numérica:
change period to comma in numeric string
Is it possible to configure in notepad ++?Not only are you wasting everyone’s time by not posting in English, your topic title (“replace semicolon with comma in numeric string”) doesn’t even match your posting content (“change period to comma in numeric string”).
I won’t even try to answer, nor think about what you’re trying to ask. I’ll just “move on” unless you put some effort behind it on your end, in the form of a reformulated posting.