如何解析一个字符串 [英] how to parse a string

查看:58
本文介绍了如何解析一个字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI再次


在访问中是否有一个漂亮的功能:


1.返回一个小字符串的出现量在一个更大的

字符串内?


这个< br>是< br>< br>测试

将返回3 < br>

2.将字符串解析为数组,给出一个分隔字符串,例如


这个< br>是< br> a<< br> a< ; br>测试

所以< br> as delimiter

array(0)= this

array(1)= is

array(2)= a

array(3)= test


谢谢

Danny


HI again

Is there a nifty function in access that will:

1. return the amount of occurances of a small string within a larger
string?

this<br>is<br>a<br>test
would return 3 for <br>

2. Parse a string into an array given a separation string like

this<br>is<br>a<br>test
so for <br> as delimiter
array(0) = this
array(1) = is
array(2) = a
array(3) = test

Thanks
Danny


推荐答案

Danny写道:
Danny wrote:
HI再次

在访问中是否有一个漂亮的功能:

1.在较大的字符串中返回一个小字符串的出现量?

这< br>< br>< br>测试
将返回3 for< br>

2.将字符串解析为一个数组,给定一个分隔字符串,如

这< br>< br>< br> test
所以对于< br> as delimiter
array(0)= this
array(1)= is
array(2)= a
array(3)= test

谢谢
Danny
HI again

Is there a nifty function in access that will:

1. return the amount of occurances of a small string within a larger
string?

this<br>is<br>a<br>test
would return 3 for <br>

2. Parse a string into an array given a separation string like

this<br>is<br>a<br>test
so for <br> as delimiter
array(0) = this
array(1) = is
array(2) = a
array(3) = test

Thanks
Danny



什么版本的Access?


What version of Access?




"沙拉" < oi*@vinegar.com>在消息中写道

新闻:Db ************** @ newsread2.news.pas.earthlink .net ...

"Salad" <oi*@vinegar.com> wrote in message
news:Db**************@newsread2.news.pas.earthlink .net...
Danny写道:
Danny wrote:
HI再次

在访问中是否有一个漂亮的功能:

1.返回发生的数量一个较大的字符串中的一个小字符串?

这个< br>< br>< br>测试
将返回3< br>
<在给定分离字符串的情况下将字符串解析为数组

此< br>< br>< br>测试
因此对于< br> as delimiter
array(0)= this
array(1)= is
array(2)= a
array(3)= test

谢谢
Danny
HI again

Is there a nifty function in access that will:

1. return the amount of occurances of a small string within a larger
string?

this<br>is<br>a<br>test
would return 3 for <br>

2. Parse a string into an array given a separation string like

this<br>is<br>a<br>test
so for <br> as delimiter
array(0) = this
array(1) = is
array(2) = a
array(3) = test

Thanks
Danny


什么版本的Access?


What version of Access?




我使用Access 2002


为什么有时候我的帖子不显示?

这是我第二次发布这个帖子。


谢谢



I use Access 2002

Why don''t my posts show up sometimes?
This is second time I posted this.

Thanks


我有访问版本2002


谢谢


" Salad" < oi*@vinegar.com>在消息中写道

新闻:Db ************** @ newsread2.news.pas.earthlink .net ...
I have access version 2002

thanks

"Salad" <oi*@vinegar.com> wrote in message
news:Db**************@newsread2.news.pas.earthlink .net...
Danny写道:
Danny wrote:
HI再次

在访问中是否有一个漂亮的功能:

1.返回发生的数量一个较大的字符串中的一个小字符串?

这个< br>< br>< br>测试
将返回3< br>
<在给定分离字符串的情况下将字符串解析为数组

此< br>< br>< br>测试
因此对于< br> as delimiter
array(0)= this
array(1)= is
array(2)= a
array(3)= test

谢谢
Danny
HI again

Is there a nifty function in access that will:

1. return the amount of occurances of a small string within a larger
string?

this<br>is<br>a<br>test
would return 3 for <br>

2. Parse a string into an array given a separation string like

this<br>is<br>a<br>test
so for <br> as delimiter
array(0) = this
array(1) = is
array(2) = a
array(3) = test

Thanks
Danny


什么版本的Access?


What version of Access?



这篇关于如何解析一个字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆