Jump to content

Trimming 1 variable into 2 separate variables?


ERuiz

Recommended Posts

Hello everyone,

I have a variable which I need to trim. Let me try to explain.

I have a table named "liveacars" and a field named "Position".

Inside "Position", I will have a coordinate in the following format (where x is a number):

Nxx xx.xxxx Wxx xx.xxxx

What I need to do is the following:

1. Put Nxx xx.xxxx and Wxx xx.xxxx into 2 separate variables.

If you notice, right in the middle of this variable, there is a white space separating the 2 values. I guess we could use this middle whitespace, as the spot where we split. How can this be done?

Regards,

ERuiz

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.