Discussion:
[orientdb] Remove special character from the attribute
axon musthaq
2018-11-16 11:58:15 UTC
Permalink
I have an property called ip in an vertex class
example

ip:127.0.0.1 i need get the value as 127001 by removing dot(.) special
character
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Luigi Dell'Aquila
2018-11-19 08:37:31 UTC
Permalink
Hi

You can use replace() method:

SELECT ip.replace(".", "") FROM V

Thanks

Luigi
Post by axon musthaq
I have an property called ip in an vertex class
example
ip:127.0.0.1 i need get the value as 127001 by removing dot(.) special
character
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an
For more options, visit https://groups.google.com/d/optout.
--
---
You received this message because you are subscribed to the Google Groups "OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...